in reply to Comparative satisfiability of regexps.
"There could be a hundred ways to acheive the same result, but since the DFA keeps track of them all simultaneously (almost magically -- more on this later), it doesn't matter which form the regex takes. To a pure DFA, even expressions that appear as different as abc and [aa-a](b|b{1}|b)c are indistinguishable."
If you accept only regular expressions recognizable by a DFA (no captures to match later in the string, no embedded code) as your "mildly cripped subset" then your problem should be solveable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Comparative satisfiability of regexps.
by demerphq (Chancellor) on Jan 19, 2005 at 21:32 UTC | |
by tall_man (Parson) on Jan 19, 2005 at 22:46 UTC | |
by Meowse (Beadle) on Jan 19, 2005 at 21:45 UTC | |
by demerphq (Chancellor) on Jan 19, 2005 at 22:01 UTC | |
|
Re^2: Comparative satisfiability of regexps.
by Meowse (Beadle) on Jan 19, 2005 at 21:33 UTC |