help in regex
-
- Posts: 75
- Joined: 22 Mar 2023, 00:53
help in regex
bunkr\.[^/\.]+/[^/\.]/[^/\.]+
is for https://bunkr.la/a/IciZ9OyW
is there a easier code for this above. the /a/ can be sometimes /v/
is for https://bunkr.la/a/IciZ9OyW
is there a easier code for this above. the /a/ can be sometimes /v/
-
- Site Admin
- Posts: 2077
- Joined: 02 Mar 2009, 17:02
Re: help in regex
You can replace the middle
/[^/\.]/
with
/[av]/
if you are absolutely sure that there will be nothing except for "a" and "v" there.
Try this:
bunkr\.[^/\.]+/[av]/[^/\.\?#]+
/[^/\.]/
with
/[av]/
if you are absolutely sure that there will be nothing except for "a" and "v" there.
Try this:
bunkr\.[^/\.]+/[av]/[^/\.\?#]+
-
- Site Admin
- Posts: 2077
- Joined: 02 Mar 2009, 17:02
Re: help in regex
You do know that there is already a template for bunkr.la albums, right?
bunkr.la-album downloader
Are there any problems with it?
bunkr.la-album downloader
Are there any problems with it?
-
- Posts: 75
- Joined: 22 Mar 2023, 00:53
Re: help in regex
i need it not for bunkr template but for celebforum.to
-
- Posts: 75
- Joined: 22 Mar 2023, 00:53
Re: help in regex
an another question:
Is there a possibility when a template changes that the change is automatically applied to an existing project.
Is there a possibility when a template changes that the change is automatically applied to an existing project.
-
- Site Admin
- Posts: 2077
- Joined: 02 Mar 2009, 17:02
Re: help in regex
No, you have to create a new project from a modified template. That's why I always "experiment" on a project, and only when it works - I copy settings to a template.
-
- Posts: 75
- Joined: 22 Mar 2023, 00:53
Re: help in regex
ok but it would be a good feature for the future maybe it can be built into the program at some point
-
- Site Admin
- Posts: 2077
- Joined: 02 Mar 2009, 17:02
Re: help in regex
You do not ALWAYS want the program to mess with existing project's properties automatically. That's why this feature is not in the program. Maybe a manual function would make sense. Like, select a menu item to apply settings from a selected template to all projects created with that template. But not automatically.