On Sat, Jan 23, 2016 at 1:28 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> Hmmmm... Because you can have
>
> // asdf
> #version 150?
>
> Unfortunately this would also catch
>
> // #version 450
> #version 150
>
> Would it work to put a ^ in the regex, i.e. r".*^#version....", re.DOTALL?

I don't know. I don't remember the app I needed this for. Also, I'm not sure
if ^ works with DOTALL.

Marek
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to