CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions: regex with "}": Edit Log



Kimaro
New User

Oct 28, 2014, 6:07 AM


Views: 29811
regex with "}"

I need help Wink

my regex doesn't work. I receive the message:

Use of uninitialized value $xyz in pattern match (m//) at ./new 1.pl line 36

my regex is:

Code
if ($xyz =~ /\}/) {

my other :

Code
if ($xyz =~ m/\\}/is) {

please help me and my hopeless try using regex.
And sorry for my bad english :D


(This post was edited by Laurent_R on Oct 28, 2014, 11:14 AM)


Edit Log:
Post edited by Kimaro (New User) on Oct 28, 2014, 6:08 AM
Post edited by Laurent_R (Veteran) on Oct 28, 2014, 11:14 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives