2

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

Community
  • 1
  • 1

1 Answers1

3

Try changing regular expression from

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

to

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

See if this helps.

Sanket
  • 19,295
  • 10
  • 71
  • 82