For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > October 2006 > Regular Expression Matching Problem (Strange)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Regular Expression Matching Problem (Strange)
foofighter

2006-10-04, 11:31 am

Hi everyone!

I have the following reg ex:
code:
/Net Name: ([^VC]\w+)\s?$/



It matches:
code:
Net Name: DDR_A_1


but NOT:
code:
Net Name: DDR_A_0


Any idea why? I know I'm a beginner, but I think this is really strange.

Thanks for your help!
foofighter

2006-10-04, 1:40 pm

Nevermind, I'm an idiot. I found the problem. Thanks for your help.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com