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!
Compiler/RegExp Problem With Forward Slashes
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 8
- Joined: Thu Jul 24, 2003 2:33 pm
- Location: New York City
The short answer is no I don't think TextPad can handle this directly. But you could create a macro to save the document (to make it writable) substitute / with \\ and save then run a command tool which is Type $File this will put this into the command window from where you can jump. as described in http://textpad.com/forum/viewtopic.php?t=4471
-
- Posts: 8
- Joined: Thu Jul 24, 2003 2:33 pm
- Location: New York City