K
ken1
I am using the Java regexp package classes Pattern and Matcher to find
matches in alot of text files i want to process to generate a list of
matches per file and which line numbers they where find on.
But I haven't found any easy way of finding out the line number on
which the match was found using the standard regexp classes.
Is there some way to ontain the row number taken into consideration
both Unix and windows newlines?
Kenneth Ljunggren
matches in alot of text files i want to process to generate a list of
matches per file and which line numbers they where find on.
But I haven't found any easy way of finding out the line number on
which the match was found using the standard regexp classes.
Is there some way to ontain the row number taken into consideration
both Unix and windows newlines?
Kenneth Ljunggren