Regular Expression 
Author Message
 Regular Expression

Hi,

How do you denote the ) character in regular expression so it's seen as a )
character and NOT a special character?

I tried:

/ \Q)\E /

and

/ \) /

either works.

Thanks,
Eric



Sun, 16 May 2004 19:17:00 GMT  
 Regular Expression


Quote:
> Hi,

> How do you denote the ) character in regular expression so it's seen as
> a ) character and NOT a special character?

> I tried:

> / \Q)\E /

> and

> / \) /

> either works.

yep your right, both work(if the space matches)..happy?

Quote:
> Thanks,
> Eric

Lao


Sun, 16 May 2004 20:24:21 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Help need with regular expressions and try to find the expression .t

2. Regular Expression Submatch List (missing desireable feature?)

3. Using $^N in Regular Expressions

4. Finding specific directories listings using regular expressions

5. Compiling regular expressions

6. Complicated regular expression help

7. New scalars with regular expressions

8. regular expression matching using a scalar variable

9. Question on regular expressions

10. fast way of finding position of regular expression

11. Regular Expression help...

12. Regular expression question...

 

 
Powered by phpBB® Forum Software