Re: Regular Expression LUT matching

Jeremy Selan <jeremy...@...>

Interesting idea.  Not currently possible, very do-able.

What if multiple luts match the specified pattern?  Which would be selected? Or would this be an error?

What are your thoughts on full regex vs just fnmatch?  (fnmatch would get you wildcards and seq match).

* matches everything
? matches any single character
[seq] matches any character in seq
[!seq] matches any character not in seq

 The only challenge is that we'd have to make sure it works on windows too (I've never tried regex or posix fnmatch on win).

-- Jeremy

On Wed, Aug 28, 2013 at 11:36 PM, <nhatpho...@...> wrote:

In a scenario where the LUT name consists of some known variables and an arbitrary string I would like to use something like regular expressions to match the LUT file. For example,


it would be useful to write in the config file:


I don't know if that's possible, but it would be handy though.



You received this message because you are subscribed to the Google Groups "OpenColorIO Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocio-dev+u...@....
For more options, visit

Join to automatically receive all group messages.