Ask a Question related to PERL Miscellaneous, Design and Development.
-
Daniel Ems #1
regexp help - match on two backslashes
Hello,
Apologies if this is the wrong place to post this question...
What regular expression can I use to match two backslashes?
I am actually using grep (on a windows machine), and I have tried
every combination of escaped backslashes I can think of...
Thanks for the help
Daniel Ems
Daniel Ems Guest
-
#38579 [Asn->Csd]: require_once() distinguishes backslashes from forward slashes
ID: 38579 Updated by: dmitry@php.net Reported By: frank at procurios dot nl -Status: Assigned +Status: ... -
backslashes in queries containing LIKE
Hi, We have a problem with backslashes in queries containing LIKE. insert into table (field) values ('IM\\test') select * from table where... -
How do I RegExp Match a ? without using \X{3F}?
Is there a way to match a question mark using a regular expression without looking for a \X{3F} ? Thanks in advance, -Dan -
PHPMyAdmin adding backslashes
Hi, I've recently started looking at PHP and MY SQL within Dreamweaver MX. I'm usin PHPMyAdmin and put some example code from my tutorial book... -
[windows 9*] how to get the output of commands which contain backslashes?
Hi I have to deal with the annoying shell of Windows. Some stuff works OK via SHELL = if CONFIG =~ /win/ # more stuff based on... -
Ryan Shondell #2
Re: regexp help - match on two backslashes
[email]danielems@myfastmail.com[/email] (Daniel Ems) writes:
/\Q\\/> Hello,
>
> Apologies if this is the wrong place to post this question...
>
> What regular expression can I use to match two backslashes?
perldoc -f quotemeta
--
perl -e '$;=q,BllpZllla_nNanfc]^h_rpF,;@;=split//,
$;;$^R.=--$=*ord for split//,$~;sub _{for(1..4){$=
=shift;$=--if$=!=4;while($=){print chr(ord($;[$%])
+shift);$%++;$=--;}print " ";}}_(split//,$^R);q;;'
Ryan Shondell Guest



Reply With Quote

