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
Hi Ed,
did you try the backslash as escape character?
Works for me :o)
Maybe try http://de3.php.net/manual/en/function.preg-match.php too see some
examples.
Good luck
Chris
- Original Message -
From: "Ed Curtis" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 16, 2007 2:12 PM
Sub
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
7 matches
Mail list logo