Notes |
|
(0027987)
|
Brad King
|
2011-12-15 08:47
|
|
Perhaps the space on each side of the ':' can be made optional:
"([^:]+)\\(([^\\)]+)\\) ?: ?(error|fatal error|catastrophic error)"
If you compile CMake with that does it pick up the error you need? |
|
|
(0027988)
|
Nils Gladitz
|
2011-12-15 09:08
|
|
I copied the LastBuild_*.log created on the windows client to my system and did:
grep -P "([^:]+)\\(([^\\)]+)\\) ?: ?(error|fatal error|catastrophic error)"
Which seems to work.
Hope that is close enough(?) |
|
|
(0027989)
|
Brad King
|
2011-12-15 09:40
|
|
After reading the sample message more carefully I realized we only need the space before the : to be optional. Originally I was confused by a typo in your "e.g." example which shows the space after the : optional. Anyway, this should fix it:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=56f29f48 [^] |
|
|
(0029453)
|
David Cole
|
2012-05-09 15:26
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|