View Single Post
Old 01-04-2022, 12:45 PM   #11
ugosan
Junior Member
ugosan began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2022
Device: Kobo
Quote:
Originally Posted by lomkiri View Post
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
ugosan is offline   Reply With Quote