| 
	
 | 
 Posted by Stefan Rybacki on 11/03/05 18:53 
Steve wrote: 
>>^content/([^/]+)/([^.]+)$ 
>  
>  
>>I know the "^" means "not". 
>>Doesn't this: 
>>[^.]+ 
>>mean "not anything"???? 
>  
>  
> In fact . in a regexp means any character except a newline (\n). Are 
> there any other switches involved that might modify the default 
> line-oriented behaviour? 
 
In fact . in [ ] means . itself! so the regular expression above matches 
 
content/ followed by any character but / then a / and then any character but . 
 
Regards 
Stefan 
 
>  
> --- 
> Steve 
>
 
  
Navigation:
[Reply to this message] 
 |