Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thing is that it returns true if the statement is '(ENRICHED)' i.e. the 'I' is present inside the brackets but so is some other stuff. BUT I only want a true if the statement has '(I)' ... what tag am I missing? Thanks guys, Smy @tt = $temp =~ m/(I)/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reg Ex simple query ......
by adrianh (Chancellor) on Jan 04, 2003 at 20:27 UTC | |
by Anonymous Monk on Jan 04, 2003 at 20:34 UTC |