Regex expression working except in dotNet --

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-04-03T22:27:23Z Indexed on 2010/04/03 22:33 UTC
Read the original article Hit count: 276

Filed under:
|

I am trying to match an expression of type

field:"value"

but not

field:value

I have written

([a-z]+)\s*?:\s*?"(.+)"\s*?

and this works excepts in dotNet

Is there any reason why this might be? Something I am missing?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about regex