Compiler/RegExp Problem With Forward Slashes
Posted: Mon Mar 22, 2004 4:23 pm
I've searched the forums couldn't find an answer to my problem. My C/C++ compiler tool (VxWorks) outputs error/warnings such as:
C:/somepath/somefile.cpp:365: error: some mistake
I can't find a regular expression that can open the file. Currently using "^\(..[^:]+\):\([0-9]+\):.*$" for my regular expression, but I have a feeling it's because the file name has forward slashes and I've found Windows-based TextPad can't open a file with forward slashes.
1) Is there a regular expression that can fix this
2) Can TextPad's Open command be changed to allow forward slashes
TIA!
C:/somepath/somefile.cpp:365: error: some mistake
I can't find a regular expression that can open the file. Currently using "^\(..[^:]+\):\([0-9]+\):.*$" for my regular expression, but I have a feeling it's because the file name has forward slashes and I've found Windows-based TextPad can't open a file with forward slashes.
1) Is there a regular expression that can fix this
2) Can TextPad's Open command be changed to allow forward slashes
TIA!