Crisis averted! I added back in the single-digit pattern and the issue is gone again. I hadn't noticed that got removed (or never added) to the translator.
I also removed the "three digit" octal pattern. David, can you explain that one? It didn't seem to be doing anything the "missing zero" pattern wasn't already handling, but maybe I'm missing something? On 2/14/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: > It seems something isn't quite right. This stack trace is from running > Rails's generate script: > > java.util.regex.PatternSyntaxException: Illegal octal escape sequence > near index 2 > \0 > ^ > at java.util.regex.Pattern.error(Pattern.java:1541) > at java.util.regex.Pattern.o(Pattern.java:2595) > at java.util.regex.Pattern.escape(Pattern.java:1829) > at java.util.regex.Pattern.atom(Pattern.java:1733) > at java.util.regex.Pattern.sequence(Pattern.java:1614) > at java.util.regex.Pattern.expr(Pattern.java:1558) > at java.util.regex.Pattern.compile(Pattern.java:1291) > at java.util.regex.Pattern.<init>(Pattern.java:1047) > at java.util.regex.Pattern.compile(Pattern.java:808) > at org.jruby.RegexpTranslator.translate(RegexpTranslator.java:22) > > -- > Charles Oliver Nutter @ headius.blogspot.com > JRuby Developer @ jruby.sourceforge.net > Application Architect @ www.ventera.com > -- Charles Oliver Nutter @ headius.blogspot.com JRuby Developer @ jruby.sourceforge.net Application Architect @ www.ventera.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
