![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Regex: matching character which happens exactly onceby QM (Parson) |
on Oct 23, 2017 at 17:00 UTC ( #1201912=note: print w/replies, xml ) | Need Help?? |
Just to further the theoretical aspect along...
What would a TM program look like that recognizes such a string? For instance, would it have to search backward and forward from each char position and count occurrences? Is there a better way? -QM
In Section
Seekers of Perl Wisdom
|
|