Pattern Matching Question
Posted: Mon May 31, 2004 3:42 pm
I am trying to match lines with the following phrase
ENTER(NAME);
where NAME is an arbitray text string.
I tried the following patterns and only got the last one to match. I am confused as to the why.
ENTER\(+\);
ENTER\(+\)\;
ENTER\(+\)+
ENTER\(+\)*
Thanks,
ENTER(NAME);
where NAME is an arbitray text string.
I tried the following patterns and only got the last one to match. I am confused as to the why.
ENTER\(+\);
ENTER\(+\)\;
ENTER\(+\)+
ENTER\(+\)*
Thanks,