K
Ken Kast
I have 3 pattern sets (P1, P2, P3). I want to match the following (sort
of): (P1|P2)(P1|P2|P3)+ The sort of is that if a matchee begins with a P2,
then there has to be at least 1 P1 following it. Simple example (in this
case P3 is void): I want to find all (longest) sequences of letters and
numbers, where the first character is a letter.
Is this doable with regexp?
of): (P1|P2)(P1|P2|P3)+ The sort of is that if a matchee begins with a P2,
then there has to be at least 1 P1 following it. Simple example (in this
case P3 is void): I want to find all (longest) sequences of letters and
numbers, where the first character is a letter.
Is this doable with regexp?