[1.9] (RegexpError) invalid character property name
---------------------------------------------------
Key: JRUBY-5720
URL: http://jira.codehaus.org/browse/JRUBY-5720
Project: JRuby
Issue Type: Bug
Components: Ruby 1.9.2
Affects Versions: JRuby 1.6.1
Environment: jruby 1.6.1 (ruby-1.8.7-p330) (2011-04-12 85838f6) (Java
HotSpot(TM) 64-Bit Server VM 1.6.0_24) [darwin-x86_64-java]
Reporter: Kornelius Kalnbach
Assignee: Thomas E Enebo
Including a regexp using character properties works in MRI:
> ruby-1.9.2-p180 -e '/#{/\p{L}/}/'
but not in JRuby:
> jruby-1.6.1 --1.9 -e '/#{/\p{L}/}/'
RegexpError: (RegexpError) invalid character property name {L}: /(?-mix:\p{L})/
(root) at -e:1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email