Ed Curtis wrote:
I'm trying to use preg_match to find a string in a system path.
What I need to do is see if the string '/realtors' exists in a variable
named '$path'.
I know '/' is used as a container within the command itself. How do I
escape it to find the string '/realtors'?
http://www
Ed Curtis wrote:
Christian Haensel wrote:
Hi Ed,
did you try the backslash as escape character?
That's what did it. I was thinking the \ was the escape for the command
but wanted to make sure.
Thanks!
Why didn't you just test it yourself? Most people (well, I hope) would
try it out, fi
Christian Haensel wrote:
Hi Ed,
did you try the backslash as escape character?
That's what did it. I was thinking the \ was the escape for the
command but wanted to make sure.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
16, 2007 2:12 PM
Subject: [PHP] using preg_match
I'm trying to use preg_match to find a string in a system path.
What I need to do is see if the string '/realtors' exists in a variable
named '$path'.
I know '/' is used as a container within the command itself
I'm trying to use preg_match to find a string in a system path.
What I need to do is see if the string '/realtors' exists in a variable
named '$path'.
I know '/' is used as a container within the command itself. How do I
escape it to find the string '/realtors'?
Thanks,
Ed
--
PHP General
Richard, Madoka,
Thank you for your insights into searching for Japanese characters.
I've decided to stick with searching for words as determined by the
placement of spaces within the source text.
Thank you for your time and advice.
--
Dave M G
--
PHP General Mailing List (http://www.php.ne
On Sat, August 5, 2006 9:06 pm, Dave M G wrote:
> While I'm only just learning about regular expressions in another
> thread, I still seem to be finding exceptional situations which have
> me
> questioning the extent to which preg expressions can be implemented.
>
> (The following contains UTF-8 en
Dear all and Dave,
>I want to divide the first line into three variables, $word, $reading,
>and $meaning. And I want to divide the second line into two variables,
>$word and $meaning.
What you(Dave) want seems to have some resemblance to
what I tackled in last month.I tried to sort out some ja
PHP list,
While I'm only just learning about regular expressions in another
thread, I still seem to be finding exceptional situations which have me
questioning the extent to which preg expressions can be implemented.
(The following contains UTF-8 encoded Japanese text. Apologies if it
comes
Hi All,
I know that you will probably tell me to RTFM but I have (several times) and
I cannot quite understand it!
So failing that I turn to you for help.
I know that this is very trivial but please humour me.
I have a line containing "From: Henry< henry @ .com >"
(please ignore any spa
10 matches
Mail list logo