Next | Regular Expression Mastery | 88 |
`Onion rings'
Match occurrences of PATTERN2 but only when it occurs inside something that also matches PATTERN1
For example:
(?<> <[^>]*> # Inside an HTML tag expression... \w+ = \w+ # Match an attribute=value pair )x # But otherwise attribute=value is not allowed.
This might change before it actually puts in an appearance.
Didn't get into 5.8; maybe 5.10?
Next | Copyright © 2002 M. J. Dominus |