Changeset 3400
- Timestamp:
- 03/27/08 04:44:32 (8 months ago)
- Files:
-
- trunk/tango/text/Regex.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tango/text/Regex.d
r3384 r3400 1998 1998 debug(tnfa) Stdout.formatln(" {}", pattern[oldCursor..cursor]); 1999 1999 2000 if ( negated ) 2001 trans.predicate.negate; 2000 if ( negated ) { 2001 auto tmp = cc_t(cc_t.any_char); 2002 tmp.subtract(trans.predicate.input); 2003 trans.predicate.input = tmp; 2004 } 2002 2005 else 2003 2006 trans.predicate.optimize; … … 2402 2405 continue; 2403 2406 for ( char_t c = p.l_; c <= min(p.r_, LOOKUP_LENGTH-1); ++c ) 2404 lookup[c] = cast(ubyte) i;2407 lookup[c] = cast(ubyte)i; 2405 2408 } 2406 2409 }












