in reply to searching for a substring in a string
Note the question-mark.$i =~ s/.*(test.*?\.txt).*/test29-01-05\.txt/
Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: searching for a substring in a string
by Ardemus (Beadle) on Feb 02, 2005 at 18:58 UTC | |
|
Re^2: searching for a substring in a string
by Anonymous Monk on Feb 02, 2005 at 17:43 UTC | |
by punch_card_don (Curate) on Feb 02, 2005 at 18:47 UTC | |
by Anonymous Monk on Feb 02, 2005 at 20:20 UTC | |
by kutsu (Priest) on Feb 02, 2005 at 17:54 UTC |