Ticket #762 (closed defect: duplicate)
Some regexp returns "compilation error: U_REGEX_RULE_SYNTAX".
| Reported by: | watson1978@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
I attach a UnitTest of Ruby 1.9.2 preview 3. Some regexp returns "compilation error" in this UnitTest.
$ macruby test_regexp.rb test_regexp.rb:76: regexp `&(?<foo>.*?);' compilation error: U_REGEX_RULE_SYNTAX test_regexp.rb:84: regexp `&(?<foo>.*?);' compilation error: U_REGEX_RULE_SYNTAX test_regexp.rb:87: regexp `&(?<foo>.*?); (y)' compilation error: U_REGEX_RULE_SYNTAX test_regexp.rb:91: regexp `&(?<foo>.*?); (?<bar>y)' compilation error: U_REGEX_RULE_SYNTAX test_regexp.rb:93: regexp `&(?<foo>.*?); (?<foo>y)' compilation error: U_REGEX_RULE_SYNTAX test_regexp.rb:95: regexp `(?<id>[A-Za-z_]+)' compilation error: U_REGEX_RULE_SYNTAX ---- snip ----
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


