R
Raj Ashar
All, I would like to know if Java's implementation of regular
expressions allows for the negation of a word. I know that it is
possible to negate members of a character class with "[^...]" to avoid
matching against those characters, and that it is possible to match
for a string by specifying the members of the string in a regular
expression (eg "my first regex"), but I'm not sure if there's a way to
match selectively (ie match all instances of ";" except where ".;.").
Thank you.
Raj
expressions allows for the negation of a word. I know that it is
possible to negate members of a character class with "[^...]" to avoid
matching against those characters, and that it is possible to match
for a string by specifying the members of the string in a regular
expression (eg "my first regex"), but I'm not sure if there's a way to
match selectively (ie match all instances of ";" except where ".;.").
Thank you.
Raj