in reply to Re^2: Regex problems using '|'
in thread Regex problems using '|'
Without the alternation, the regex engine moves its starting position until it finds the substring Remediation Report.
(Actually it's much smarter than that; it searches for the constant substring with the same techniques that index uses, but from a users point of view that only matters when it comes to speed, not in terms of functionality).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Regex problems using '|'
by romandas (Pilgrim) on Jul 22, 2008 at 10:50 UTC | |
by moritz (Cardinal) on Jul 22, 2008 at 11:04 UTC | |
by romandas (Pilgrim) on Jul 22, 2008 at 12:09 UTC | |
by JavaFan (Canon) on Jul 22, 2008 at 12:45 UTC | |
by romandas (Pilgrim) on Jul 22, 2008 at 13:05 UTC | |
by moritz (Cardinal) on Jul 22, 2008 at 13:06 UTC | |
by romandas (Pilgrim) on Jul 22, 2008 at 13:17 UTC |