Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Help with regex for complicated key=value string

by mscharrer (Hermit)
on Oct 29, 2008 at 19:43 UTC ( [id://720315]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Help with regex for complicated key=value string
in thread Help with regex for complicated key=value string

$esc is used:
if ($esc) { $esc = 0; } ... elsif ( $char eq '\\' ) { $esc = 1; }
and "\\," is handled quite well in my tests.

Do I miss here something?

Replies are listed 'Best First'.
Re^5: Help with regex for complicated key=value string
by ikegami (Patriarch) on Oct 29, 2008 at 19:45 UTC
    Nevermind. I wrongly thought
    if ($esc) { $esc = 0; } ... elsif ( $char eq '\\' ) { $esc = 1; }
    was identical to
    ... elsif ( $char eq '\\' ) { }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found