Forum: Ruby Oniguruma...

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C1bcb559f87f356698cfad9f6d630235?d=identicon&s=25 Hal Fulton (Guest)
on 2006-01-06 08:10
(Received via mailing list)
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?

2. How to build the stable snapshot with Oniguruma?


Thanks,
Hal
82e62c756d89bc6fa0a0a2d7f2b1e617?d=identicon&s=25 Ross Bamford (Guest)
on 2006-01-06 09:43
(Received via mailing list)
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,
58479f76374a3ba3c69b9804163f39f4?d=identicon&s=25 Eric Hodel (Guest)
on 2006-01-06 21:22
(Received via mailing list)
On Jan 5, 2006, at 11:10 PM, Hal Fulton 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:
>
> 2. How to build the stable snapshot with Oniguruma?

http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/onigur...?
rev=1.1.1.8;content-type=text%2Fplain

--
Eric Hodel - drbrain@segment7.net - http://segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com
58479f76374a3ba3c69b9804163f39f4?d=identicon&s=25 Eric Hodel (Guest)
on 2006-01-06 22:31
(Received via mailing list)
On Jan 6, 2006, at 12:19 PM, Eric Hodel wrote:

> rev=1.1.1.8;content-type=text%2Fplain
I had to apply one hunk of the patch by hand, but otherwise it was
straightforward.

--
Eric Hodel - drbrain@segment7.net - http://segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com
D4d28bd014f9e7324bad99dcc3b0d390?d=identicon&s=25 Rich Morin (Guest)
on 2006-01-06 22:52
(Received via mailing list)
Googling around, the only information I found on Oniguruma
was in Japanese.  Is there an overview in English?

-r
--
Technical editing and writing, programming, and web development:
  http://www.cfcl.com/rdm/resume.html

Contact information: rdm@cfcl.com, +1 650-873-7841
This topic is locked and can not be replied to.