in reply to Re: Re: Re: Re: Re: Re: Re: my versus our in nested regex
in thread my versus our in nested regex
The dotNet syntax is provided (with problems associated) by Regex::Fields. It looks like
(?<NAME>PATTERN)
In dotNet the results are available through the regex object itself. In Perl I would assume that a special hash would be created for the results (In R::F its %{&}). I also suspect that a leftmost-outermost wins rule would be a reasonably useful rule if only one possibility was allowed, otherwise perhaps a hash of arrays would be cool. R::F supports also binding to implicit lexicals.
Incidentally I understand from another post here that this module causes problems in that it makes global changes to how the regexes are handles. I cant say if this is true however.
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re:+: my versus our in nested regex
by BrowserUk (Patriarch) on Oct 18, 2003 at 22:30 UTC | |
by demerphq (Chancellor) on Oct 19, 2003 at 00:08 UTC |