Menu

#530 [Advanced compiler options dialog/regex tester] Add name of matching regex to test result window

Undefined
open
nobody
None
Feature_Request
2017-07-28
2017-07-28
Jannick
No

Advanced compiler options dialog - Settings > Compiler > (select compiler >) tab 'Other settings' > btn 'Advanced options' > tab 'Output Parsing':

When testing a line against the list of regular expressions of the selected compiler, it would be great to have in the test result window the name of the regular expression matching the test string (which is first in the list).

Purpose - better analysis of test results in designing additional regular expressions, since - as pointed out in the dialog box - the regex order does matter.

Potential implementation (but I am certainly in deep water here) - Pass the index - or name - of the matching regex from Compiler::CheckForWarningsAndErrors (compiler.cpp) back to AdvancedCompilerOptionsDlg::OnRegexTest (advancedcompileroptionsdlg.cpp) upon test.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.