Regular Expression LUT matching


nhatpho...@...
 

Hi!

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,

./001/0001/fromJeremy_cin_srgb.cube
./001/0002/fromEditorial_cin_srgb.cube

it would be useful to write in the config file:

${SEQ}_${SHOT}/([A-Za-z]*_cin_srgb.cube)

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

Thanks,


Nhat



Join ocio-dev@lists.aswf.io to automatically receive all group messages.