TailBlazer icon indicating copy to clipboard operation
TailBlazer copied to clipboard

Spaces break Regex in Search & Highlight

Open CADbloke opened this issue 8 years ago • 0 comments

Example text...

2017-08-02 11:58:29.086 +10:00 [Information] Parsing 28 of 238: "D:\DWG\SomeDrawing.dwg"

I want to highlight Parsing 28 of 238, the numbers can vary

Regexes I tried to match

  • Parsing \d+ of \d+ - nope
  • Parsing \d* of \d* - nope
  • Parsing \d* - did highlight the word "Parsing" but nothing after it
  • parsing\s\d+\sof\s\d+ actually highlighted the phrase.

Does the search have a special treatment for spaces in the search string when it does Regex?

CADbloke avatar Aug 02 '17 03:08 CADbloke