On Fri, 06 Jan 2006 07:10:06 -0000, Hal Fulton <hal9000 / hypermetrics.com>  
wrote:

> My understanding is that Oniguruma is standard in 1.9 and
> can be built into 1.8.x -- correct?
>
> So my first two questions are:
>
> 1. How to do a simple test that confirms whether or not
> Oniguruma is there?
>

 From what I can gather, the regular ('old') way doesn't support  
Lookbehind, but Oniguruma does, so:

	[rosco@jukebox dev]$ irb
	irb(main):001:0> "ab" =~ /(?<!a)b/
	SyntaxError: compile error
	(irb):1: undefined (?...) sequence: /(?<!a)b/
         from (irb):1
	  irb(main):002:0> quit

	[rosco@jukebox dev]$ irb9
	irb(main):001:0> "ab" =~ /(?<!a)b/
	=> nil
	irb(main):002:0> "db" =~ /(?<!a)b/
	=> 1

would appear to do it.

> 2. How to build the stable snapshot with Oniguruma?
>

Umm, don't know.

Cheers,

-- 
Ross Bamford - rosco / roscopeco.remove.co.uk