Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Regex: matching character which happens exactly once

by QM (Parson)
on Oct 23, 2017 at 17:00 UTC ( #1201912=note: print w/replies, xml ) Need Help??


in reply to Regex: matching character which happens exactly once

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
--
Quantum Mechanics: The dreams stuff is made of

  • Comment on Re: Regex: matching character which happens exactly once

Replies are listed 'Best First'.
Re^2: Regex: matching character which happens exactly once
by LanX (Cardinal) on Oct 23, 2017 at 18:47 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1201912]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2021-04-15 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?