Saturday, 15 June 2013

regex - VisualStudio Find Using Reqular Expression LookBehind -



regex - VisualStudio Find Using Reqular Expression LookBehind -

using visual studio 2013, how find occurrences of sheet not if mvc.sheet?

i cannot figure out behind.

this works find ones not followed .index: sheet(?!.index)

working in vs2013 (see screenshot):

(?<!mvc\.)sheet the (?<!mvc\.) lookbehind asserts precedesis not mvc. sheet matches sheet

reference

lookahead , lookbehind zero-length assertions mastering lookahead , lookbehind

regex visual-studio visual-studio-2013

No comments:

Post a Comment