(no subject)

Date: 2006-12-30 02:17 pm (UTC)
BTW, if all you want is non-recursive out to, say, 2 levels of nested parens, that's much easier. for the above example:


/\{\?~Faction : (\w+) -- (?:\{\?~Character && Faction==(\w+) : \1 \?\})* \?\}/

or something like that. The (?: foo) construct groups without returning as a match; the \1 harks back to the faction name or should.

{? and ?} are, of course, pathological in perl patterns and have to be escaped...who picked those delimiters? ;)
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

jducoeur: (Default)
jducoeur

July 2025

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
27 28293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags