VisualStudio Find Using LookBehind Reference Expression

Using Visual Studio 2013, how would I find all occurrences of a Sheet, but not if it is MVC.Sheet?

I can’t figure out what to see.

This works to find those not followed by .Index: Sheet (?!. Index)

+4
source share
1 answer

Work in VS2013 (see screenshot):

(?<!MVC\.)Sheet
  • (?<!MVC\.) lookbehind claims that the foregoing is not MVC.
  • Sheet corresponds to Sheet

Visual studio

Link

+6
source

Source: https://habr.com/ru/post/1545412/


All Articles