regex - Regular Expression to filter lines -
This is usually a svn log output I need help in writing a regex which will only let me comment the comment. ( by change: at the end of the string )
r1234: m / trunk / test / server / page filter / ISAPIFFFXAPFX A / trunk / test / server / makefile Change: Server \ makefile: 64-bit ISAPIFilter in Building pfauthfilter: Added Debug 64, Release 64 Solution Project Configuration Platforms The first two rows of three places, the last line of one place at the beginning .
In an array I am storing these lines and moving back one by one.
It is that I wrote to filter but it is not working.
"^ (?! (^ R \ d +) | ^ ([M | A] \ S. *) | (^ Changed *) | (^ ----- * ) | (^ \ S * $)) "
How about: < / P>
"change: \ n (. *)" S
Comments
Post a Comment