Re: [Regexp] Possible non-conformance with Perl 5 in java distributionof gnu.regexp
Cefn Hoile <[email protected]>
| Newsgroups | gmane.comp.gnu.regexp |
|---|---|
| Message-ID | <[email protected]> |
I'm pretty sure I tried the code Wes suggested already, but I will check. Sorry not to report the failure in more detail. The specific failure is when gzip is bounded by two commas, (in other words backreference 2 should evaluate to a comma - assuming that the comma separated list was valid in the first place). Instead of the match being replaced by a comma, it is replaced by the empty string. Basically the pattern is able to capture the gzip, as well as it's preceding and postceding comma, but the replacement ends up wrong. I can't get it to replace with a comma, as the perl script does. Cefn http://cefn.com On 28 Jul 2004, at 21:52, jon wrote: >> I spent ages trying to debug why it didn't work > > Could you specifically tell us what didn't work? Compiling? Results? > Please > post to the list the compiler or application execution output. I've > seen > Wes' reply and I don't think that's going to solve your problem, but > I'm > only guessing. > > Jon > >