Think about Loose Coupling | |
PerlMonks |
Re^3: Regular Expression: search two times for the same number of any signsby hippo (Bishop) |
on Nov 29, 2016 at 10:31 UTC ( [id://1176783]=note: print w/replies, xml ) | Need Help?? |
If that's really the case (and you are probably right) then maybe change the order: find the first and last occurrence of 'x', calculate where the middle one should be and look there? However, the spec is a little woolly and the whole thing is still shouting "XY!" at me.
In Section
Seekers of Perl Wisdom
|
|