Re: Unmatched '

2009-02-23 Thread John W. Krahn
John W. Krahn wrote: Karyn wrote: Can someone else see why I am getting the following error, cause as far as I can tell I have escaped all the ' single quotes. ganymede# perl -i.bak1 -p -e 's/include(\'http:\/\/calarts.edu\/redcat\/nav.php\')\;/include(\'nav.php\&

Re: Unmatched '

2009-02-23 Thread John W. Krahn
Karyn wrote: Can someone else see why I am getting the following error, cause as far as I can tell I have escaped all the ' single quotes. ganymede# perl -i.bak1 -p -e 's/include(\'http:\/\/calarts.edu\/redcat\/nav.php\')\;/include(\'nav.php\')\;/ig' *.

Unmatched '

2009-02-23 Thread Karyn
Can someone else see why I am getting the following error, cause as far as I can tell I have escaped all the ' single quotes. ganymede# perl -i.bak1 -p -e 's/include(\'http:\/\/calarts.edu\/redcat\/nav.php\')\;/include(\'nav.php\')\;/ig' *.php Unmatched

Re: Unmatched [ in regex; marked by <--- HERE .........

2008-08-19 Thread Xavier Mas
El Monday 18 August 2008 16:56:13 Merdinus va escriure: > The command that's causing this error is: > > my @refs = split('[', $references); > I also tried >>> my @refs = split("[", $references); <<< (doublle > quotes instead) > and got the same error. > If I change it to > > my @ref

Re: Unmatched [ in regex; marked by <--- HERE .........

2008-08-19 Thread viki
On Aug 18, 7:56 pm, [EMAIL PROTECTED] (Merdinus) wrote: > The command that's causing this error is: > >         my @refs = split('[', $references); > I also tried   >>> my @refs = split("[", $references);  <<<  (doublle > quotes instead) > and got the same error. > If I change it to > >         my

Re: Unmatched [ in regex; marked by <--- HERE .........

2008-08-19 Thread viki
On Aug 18, 7:56 pm, [EMAIL PROTECTED] (Merdinus) wrote: > The command that's causing this error is: > >         my @refs = split('[', $references); > I also tried   >>> my @refs = split("[", $references);  <<<  (doublle > quotes instead) > and got the same error. > If I change it to > >         my

Re: Unmatched [ in regex; marked by <--- HERE .........

2008-08-19 Thread Dr.Ruud
Merdinus schreef: > my @refs = split('[', $references); > Unmatched [ in regex; marked by <--- HERE . The first parameter to split is a regex. The "[" character is a functional regex character. You can write it as: my @refs = split /\[/, $references

Unmatched [ in regex; marked by <--- HERE .........

2008-08-18 Thread Merdinus
The command that's causing this error is: my @refs = split('[', $references); I also tried >>> my @refs = split("[", $references); <<< (doublle quotes instead) and got the same error. If I change it to my @refs = split("asdfsdfas", $references); then I get no such error. The