Re: A simply regex question
- From: "Jürgen Exner" <jurgenex@xxxxxxxxxxx>
- Date: Sun, 16 Jul 2006 14:11:50 GMT
Franzl Wisseworst wrote:
[Subject: A simply regex question]
Your task can better be solved without using a RE.
How can I figure if my DOCUMENT_URI contains a substring, eg.:
perldoc -f index
And is there a way to ignore case, so the substring could be
"mein.totenkopf.de" or "MEIN.TOTENKOPF.DE" for example?
You normalize both strings before searching, e.g. make both all lower-case,
see
perldoc -f lc
jue
.
- Follow-Ups:
- Re: A simply regex question
- From: Franzl Wisseworst
- Re: A simply regex question
- References:
- A simply regex question
- From: Franzl Wisseworst
- A simply regex question
- Prev by Date: How to local-ly close a handle?
- Next by Date: Re: how to sort a array?
- Previous by thread: Re: A simply regex question
- Next by thread: Re: A simply regex question
- Index(es):
Relevant Pages
|
|