Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: problems matching umlauts in env vars

by december (Pilgrim)
on Jul 23, 2004 at 04:31 UTC ( [id://376792]=note: print w/replies, xml ) Need Help??


in reply to Re: problems matching umlauts in env vars
in thread problems matching umlauts in env vars

It's not in utf. When I encode it like you told me, it can't find the file anymore (the ë now changed to an utf sequence when I print the variable, and the filesystem doesn't like utf filenames). Both strings seem to be iso-8859-1, probably just plain 8bit. When I update it to utf, though, it's the DOT it doesn't want to match on - not the umlaut.

/^([\w\s.]+)$/ # unescaped /^([\w\s\.]+)$/ # or escaped

Is there something wrong with the dot in the regex?

Replies are listed 'Best First'.
Re^3: problems matching umlauts in env vars
by borisz (Canon) on Jul 23, 2004 at 08:08 UTC
    No, inside the [] a . is the same as \.
    Boris
      I believe Boris means: "No, inside the [] a . is the same as \.", but his square brackets got eaten by a moose and a squirrel not using code tags.
        correct, I add the code tags now, thanks.
        Boris

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-24 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found