in reply to regular expression with @@/
#!/usr/bin/perl use strict; use warnings; my $line = 'sometext@@sometext'; if ($line =~ m|\@\@|) { print "success!\n"; }
I'm willing to bet that what is going on is described in Quote and Quote like Operators.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regular expression with @@/
by jim_neophyte (Sexton) on Dec 07, 2009 at 18:29 UTC | |
by ikegami (Patriarch) on Dec 07, 2009 at 19:21 UTC | |
|
Re^2: regular expression with @@/
by jim_neophyte (Sexton) on Dec 07, 2009 at 18:20 UTC | |
by kennethk (Abbot) on Dec 07, 2009 at 18:30 UTC | |
by jim_neophyte (Sexton) on Dec 07, 2009 at 18:33 UTC |