JohnStossel256
JohnStossel256

Reputation: 119

Visual Studio - Productivity Power Tools - RegEx folder name Color Coding

Path in my project:

C:\Unicorns\Fart.Rainbows\Classes\someFiles.cs

How do I color code tabs based on file path containing the following?:

"\Fart.Rainbows\"

It looks like my question is asked and answered here, but I can't seem to get the regex right.

The following works in a regex tester I tried, but not in Prod Power Tools:

\b\\Fart\.Rainbows\\\b

General enter image description here

Upvotes: 2

Views: 1448

Answers (1)

Sanket
Sanket

Reputation: 20047

Try changing regular expression from

\b\\Fart\.Rainbows\\\b

to

.*\b\\Fart\.Rainbows\\\b.*

See if this helps.

Upvotes: 3

Related Questions