[Python-modules-commits] [python-pyld] 74/276: Fix whitespace regex.
Wolfgang Borgert
debacle at moszumanska.debian.org
Wed Oct 8 23:47:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository python-pyld.
commit 974b6cf36709fff11d15ad7907df2a51bdc124bd
Author: Dave Longley <dlongley at digitalbazaar.com>
Date: Tue May 1 16:33:45 2012 -0400
Fix whitespace regex.
---
lib/pyld/jsonld.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index 8825758..bfe1f8d 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -2714,8 +2714,8 @@ class JsonLdProcessor:
datatype = '(?:\\^\\^' + iri + ')'
language = '(?:@([a-z]+(?:-[a-z0-9]+)*))'
literal = '(?:' + plain + '(?:' + datatype + '|' + language + ')?)'
- ws = '[ \t]+'
- wso = '[ \t]*'
+ ws = '[ \\t]+'
+ wso = '[ \\t]*'
eoln = r'(?:\r\n)|(?:\n)|(?:\r)/g'
empty = r'^' + wso + '$'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyld.git
More information about the Python-modules-commits
mailing list