-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Custom mapping: reorder/multiple lines/save Examples for each pattern/enable button #902
Comments
Do you have examples for patterns you use and need to test? Does https://regex101.com/ help? I use it every time I need to write regexes. |
this is an example that I'm testing
And also, we have to use the special type of named groups, like And also, how can we make more complex regexp, like nested named groups |
I'd like to share what I have done
Now I have make many entries back to work for my sonarr, the custom mapping function is really helpful Thanks! |
Sorry, I'm a bit busy righ now. Don't know when I'll have time to look further into this. |
ok, that's only feature requests, take your time~ |
I'm a Chinese user, I use nzbhydra2 to remap the titles so that sonarr can parse the title.
50% of the title from my Indexers (like dmhy,mikan in zh-CN) can not be parsed by sonarr, the are like
So to write a workable regexp, I have to test it agains more than 10 patterns(each time I make some changes). I want this procedure to be more efficient.
Example query/title
field for custom query to be multiple lines. And also save it when wesubmit it
.we will always need examples to test the regexp, so we really need to save them.
enable
button for them.name
field for them so I can make notes on what is this regexp doingSince the sonnar team has clearly refused to add a custom parser for series link (and people have been complaining about this for a long time), the only way to make it work for BT seeds in Chinese (and may also for other languages) is to remap the title by nzbhydra2.
To wirte regexps, we need tests and trials, so the test examples is as important as the regexp itself, we need to test multiple of them to save time. And we also need other features above to speed up.
The text was updated successfully, but these errors were encountered: