Discussions about the nZEDb usenet indexer.
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Reporting Bugs/Feature Requests see:
https://forums.nzedb.com/index.php?topic=1877.0
Home
Chat
Help
Search
Login
Register
nZEDb
»
nZEDb
»
Regex
»
How to create Regex for Nzedb?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to create Regex for Nzedb? (Read 7656 times)
bundyboss
Junior Indexer
Posts: 5
Helpful: +0/-0
How to create Regex for Nzedb?
«
on:
2015-10-29, 04:32:30 am »
Hi,
I've create a lot of regex for newnab but I've not found explanation of how to create regex for NzeDB?
For newzab you have two items (?P<name>) and (?P<parts>).
On Nzedb doesn't seems to work like that.
There are (?P<match1>) and (?P<match0> or (?P<match2>).
So could anyone can explain how it's works?
Thanks in advance for your reply.
Logged
Wally73
Overlord
Posts: 273
Helpful: +31/-1
i'm nuts
Re: How to create Regex for Nzedb?
«
Reply #1 on:
2015-10-29, 04:39:37 am »
read the two sticky posts in this Regex sub forum
Logged
bundyboss
Junior Indexer
Posts: 5
Helpful: +0/-0
Re: How to create Regex for Nzedb?
«
Reply #2 on:
2015-10-29, 05:17:20 am »
I've already read it and not answer to my question!
I know how to create a regex but I don't know what items are used to make a release. This is my question!
For newzab you have two items (?P<name>) and (?P<parts>).
On Nzedb doesn't seems to work like that.
There are (?P<match1>) and (?P<match0> or (?P<match2>).
Nothing about part?
So could anyone can explain how it's works?
Logged
Wally73
Overlord
Posts: 273
Helpful: +31/-1
i'm nuts
Re: How to create Regex for Nzedb?
«
Reply #3 on:
2015-10-29, 05:39:40 am »
read
http://forums.nzedb.com/index.php?topic=1625.msg9605#msg9605
Logged
bundyboss
Junior Indexer
Posts: 5
Helpful: +0/-0
Re: How to create Regex for Nzedb?
«
Reply #4 on:
2015-10-29, 06:16:44 am »
I'm sorry for my poor english but as I said I've already read it.
In your link there are no reference to (?P<match1>).
Your link just explain how to create a Regex. My question is how to create a regex dedicated for nzeDB?
If (?P<match1>) is not add in the regex how it's work?
I'm sorry but is not written in your link!
Logged
bundyboss
Junior Indexer
Posts: 5
Helpful: +0/-0
Re: How to create Regex for Nzedb?
«
Reply #5 on:
2015-10-29, 09:17:36 am »
I've tested with my newsnab regex and it seems to work but I don't know if it use the (?P<parts>\d{1,3}\/\d{1,3}) field.
I've tested with this regex for exemple:
/VA-(?P<name>.*?) ]-(\(|\[)(?P<parts>\d{1,3}\/\d{1,3})(\)|\])/i
Logged
kevin123
Overlord
Posts: 456
Helpful: +49/-0
Re: How to create Regex for Nzedb?
«
Reply #6 on:
2015-10-31, 03:42:04 am »
In the pages where you add the regex, it explains how they work, here for example:
https://github.com/nZEDb/nZEDb/blob/master/www/themes_shared/templates/admin/collection_regexes-edit.tpl#L24
Logged
bundyboss
Junior Indexer
Posts: 5
Helpful: +0/-0
Re: How to create Regex for Nzedb?
«
Reply #7 on:
2015-11-02, 01:58:13 am »
Thanks Kevin this is what I need.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
nZEDb
»
nZEDb
»
Regex
»
How to create Regex for Nzedb?