EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: adabo on 17 June 2017, 04:08

Title: What is the CLRMamepro Regex syntax?
Post by: adabo on 17 June 2017, 04:08
The only regex I found was the fnmatch python syntax. The link was broken on the help page, but google helped.

fnmatch has like 4 operators. I was hoping to do more robust expressions.

For now I would just be happy with some way to negate, eg. select %m=*nintendo* but NOT %d=*playchoice*

Thanks.
Title: Re: What is the CLRMamepro Regex syntax?
Post by: Roman on 17 June 2017, 14:24
Well, yes, it's more a limited fnmatch than a full regual expression parser....and mixed up with variable usage...
hmm...a combined positive and negative list...tricky...tricky...have to think about it....(or add some support for != instead of = ;-)). For now you might limit the list first with the nintendo query and then manually by disabling the playchoice bios set for example.....
Title: Re: What is the CLRMamepro Regex syntax?
Post by: adabo on 17 June 2017, 15:16
Which is approximately what I've been doing as a work around. Combining clrmamepro and Total Commander have worked out well enough. The draw back is tedium. Thank you for the reply. Nice to speak with a developer :)

Any thoughts about file/folder management? E.G, the possibility to split rom sets into folders using filters (Manufacturer, Year, Bios, etc ...).
Title: Re: What is the CLRMamepro Regex syntax?
Post by: Roman on 18 June 2017, 15:32
Rebuilder -> Rebuilder Advanced -> Dest Prestring -> %m\

as an example to rebuild files to <your rebuilder destination>\ <the set's manufacturer>\ <the actual set> (folder or archive)