M
Mike Grandmasion
Hi,
I am trying to write a pattern which will give me all matches in java
files for strings that contain the word "the " but do not start with
//, <!--.
This is my pattern so far,
grep -PRi 'out.print.*?[^/][^/].*?the' * | grep -Pi
'out.print.*?[^\<][^!][^-][^-].*?the'
It sort of works but I was wondering if anyone has suggestions on how
to improve it.
Thanks for any pointers,
Mike
I am trying to write a pattern which will give me all matches in java
files for strings that contain the word "the " but do not start with
//, <!--.
This is my pattern so far,
grep -PRi 'out.print.*?[^/][^/].*?the' * | grep -Pi
'out.print.*?[^\<][^!][^-][^-].*?the'
It sort of works but I was wondering if anyone has suggestions on how
to improve it.
Thanks for any pointers,
Mike