Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Demarcate Regexes with Unicode

by hardburn (Abbot)
on Sep 16, 2011 at 13:10 UTC ( #926408=note: print w/replies, xml ) Need Help??


in reply to Demarcate Regexes with Unicode

My radical idea for regex readability is to integrate tablets into development. Touchscreens can be a convenient way to manipulate a Finite State Machine (which is what regexen are). Once saved, it would create a compiled form of the NFA that can be accessed using some API call (similar to Regexp::Common).

The main difficulty is that Perl's regexen go way beyond just FSMs. How would you represent capturing on the tablet, for instance? I'm also not sure if Perl5's regex engine can be easily given a serialized input.


"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

Replies are listed 'Best First'.
Re^2: Demarcate Regexes with Unicode
by Anonymous Monk on Sep 16, 2011 at 13:21 UTC
    needs more cloud
      Aw, dammit... Coke, keyboard.... :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://926408]
help
Chatterbox?
[ww]: OTOH, -- for ads suggesting that being good at games is somehow eq "greatness"
[ambrus]: 1nickg: obviously the gamers don't know. but anyway, I need the whole room backlit, because watching a monitor in a dark room (like many people do) is tiring for my eyes, even more so than doing it in a lit room.
[1nickt]: ambrus I agree. I suspect one's eyes are always trying to adjust across the boundary between very bright and very dark ... like a camera's autofocus struggling to choose the target.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (15)
As of 2017-03-27 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.