-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Filter to get first or last line #81
Comments
Great idea! |
You can keep the query as is and use On second thought, I am not sure if that filter is really needed; is there another use case? |
I mean in the screenshot. So instead of appear two lines, like in the screenshot, it would just appear "0.9.5-2", the line I want to check for changes. Got it? |
Like if you have a page that shows, let's say, 5 items, and when a new item appears it becomes the first, or the last, item and one item disappears because it's shows just 5 items. |
Good news: it turns out you can write Regexes to do this, and apply the See new examples in the documentation for v3.24 just released. |
Is your feature request related to a problem? Please describe.
I use webchanges to query Debian packages versions that are available in the repository using re.findall and RegEx groups, but it returns plenty of lines, and sometimes I just want the first line or the last one.
Describe the solution you'd like.
An option like
first_line
andlast_line
to filter just one of these lines.Describe alternatives you've considered.
I tried using RegEx but couldn't find a suitable parameter.
Additional context.
For example, with this query I just want the last line that show the newer version.
The text was updated successfully, but these errors were encountered: