Quote:
Originally Posted by lomkiri
It depends of the search string you've used. In the one I wrote for Chouette:
class="noteref">\K(\d+)(</a>)
there were 2 capturing groups: group(1) -> (\d+) and group(2) -> (</a>)
You probably put a different string with only one capturing group, so you correctly adapted the code of the function.
|
is exactly how you write, I had guessed that this was the reason, but now you have explained it, I understand better.
Thanks.
ugosan