in reply to Escaping quotemeta() in regex
That doesn't really make any sense. Does
\dir\d\file.txt
mean
\\dir\\d\\file\.txt
or
\dir\d\\file.txt
or something else?
There's no way to tell what the user meant. There's a reason why regexp provide an escape character: It is required.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Escaping quotemeta() in regex
by sweetblood (Prior) on Nov 30, 2005 at 17:12 UTC | |
by ikegami (Patriarch) on Nov 30, 2005 at 18:24 UTC | |
by sweetblood (Prior) on Nov 30, 2005 at 18:28 UTC | |
by ikegami (Patriarch) on Nov 30, 2005 at 18:43 UTC |