From cec83abc3edff787eb9bdea04db74a3b4c5447f5 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 22 Jul 2013 18:20:38 +0200 Subject: [PATCH] Use regex module to work around arbitrary limitations in re Our automatically generated regular expressions break Python's random and arbitrary limit of 100 groups. See http://stackoverflow.com/questions/478458 --- .travis.yml | 1 + build.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bf1afcc310..a28b0e5f5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ before_install: - "sudo pip install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz" + - "sudo pip install regex" - "git clone --depth=50 https://github.com/jsdoc3/jsdoc build/jsdoc" - "git clone https://code.google.com/p/glsl-unit/ build/glsl-unit" diff --git a/build.py b/build.py index b01ce9af01..76461605e4 100755 --- a/build.py +++ b/build.py @@ -5,7 +5,7 @@ import gzip import json import os import os.path -import re +import regex as re import shutil import sys