|No such thing as a small change|
Regex expression to match...by Anonymous Monk
|on Jun 17, 2011 at 04:35 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I am seeking knowledge for a regular expression to match either of the following:
I want to identify the repeating phrase 'one/' or 'water/'
I setup a loop that would breakdown each line, and search for repeats, but I am sure there are folks who can identify a repeat using a single expression. Being that I am a beginner, I would be very grateful for some help so I can understand regular expression matching much better.