Hi. You know that special character \b (word border) that is handy to use
because it does not eat a character that you might want to match to another
piece of your expression? \b matches the start or finish of a string of
word characters: letters, numbers, and _. Is there any way to match the
border of an arbitrary set of characters, also without eating a character?
For example, say I want to match to the beginning or end of a string of the
letters A, S, D, or F.
Thanks very much.
Joe Czapski
Boston, Mass.
because it does not eat a character that you might want to match to another
piece of your expression? \b matches the start or finish of a string of
word characters: letters, numbers, and _. Is there any way to match the
border of an arbitrary set of characters, also without eating a character?
For example, say I want to match to the beginning or end of a string of the
letters A, S, D, or F.
Thanks very much.
Joe Czapski
Boston, Mass.
Comment