Index[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z] earliest match wins EBCDIC ECMAScript (.NET) 2nd 3rd 4th 5th ed efficiency (see also optimization) and backtracking correctness Perl Perl-specific issues PHP regex objects unlimited lookbehind egrep after-match data backreference support case-insensitive match doubled -word solution example use flavor overview flavor summary history introduced metacharacter discussion regex implementation version covered electric engine analogy Emacs after-match data control characters flavor overview re-search-forward search strings as regexes syntax class version covered word boundaries email address example 2nd .NET Java email of author embedded code local my regex construct 2nd sanitizing embedded string check optimization 2nd Embodiments of Mind Empty empty-element tag \p{Enclosing_Mark} 2nd 3rd encoding (see also Unicode) ASCII 2nd 3rd 4th introduced issues overview Latin-1 2nd 3rd 4th 5th UCS-2 UCS-4 UTF-16 UTF-8 2nd 3rd END block end method end-of-string anchor optimization engine analogy hybrid 2nd 3rd implementation ease introduced testing type with neverending match type comparison 2nd English module English vs. regex enhanced line-anchor mode introduced enhanced line-anchor mode) caret dollar end-of-line optimization exposing line 2nd 3rd overview ERE ereg suite errata Escape escape introduced term defined @ escaping essence atomic grouping greediness , laziness , and backtracking eval example atomic grouping 2nd 3rd 4th 5th 6th 7th commafying a number introduced without lookbehind CSV parsing .NET Java 2nd Perl PHP unrolling VB.NET dollar value 2nd 3rd 4th 5th double-quoted string allowing escaped quotes egrep final regex makudonarudo 2nd 3rd 4th sobering example unrolled 2nd double-word finder egrep Emacs Java Perl 2nd email address 2nd .NET Java filename 2nd five modifiers floating-point number form letter gr[ea]y hostname 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th egrep in URL Java plucking from text 2nd validating VB.NET HREF HTML 2nd 3rd 4th 5th 6th <HR> conversion from text cooking 2nd encoding link optional paired tags parsing 2nd 3rd 4th tag 2nd 3rd 4th 5th 6th URL 2nd 3rd 4th 5th URL-encoding HTTP response image tags IP 2nd 3rd 4th 5th 6th Jeffs lookahead mail processing makudonarudo 2nd 3rd 4th pathname population possessive quantifiers 2nd postal code regex overloading stock pricing 2nd with alternation with atomic grouping with possessive quantifier temperature conversion .NET Java Perl 2nd PHP text-to-HTML this that 2nd 3rd 4th 5th 6th 7th 8th unrolling the loop 2nd URL 2nd 3rd 4th 5th 6th 7th 8th egrep Java plucking username 2nd 3rd in URL plucking from text variable names XML ZIP code exception PatternSyntaxException IllegalArgumentException 2nd IllegalStateException IndexOutOfBoundsException 2nd IOException PatternSyntaxException Explicit (Option) ExplicitCapture (.NET) 2nd 3rd exponential match 2nd 3rd avoiding discovery explanation non-determinism short-circuiting solving with atomic grouping solving with possessive quantifiers expose literal text expression context contorting Extended Regular Expressions |