Created
February 12, 2013 18:45
-
-
Save skimbrel/4772184 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [2]: re.compile(u'[\U0001f300-\U0001f5ff]') | |
--------------------------------------------------------------------------- | |
error Traceback (most recent call last) | |
<ipython-input-2-1a8eff581d46> in <module>() | |
----> 1 re.compile(u'[\U0001f300-\U0001f5ff]') | |
/Users/sam/bamboo-env/lib/python2.7/re.pyc in compile(pattern, flags) | |
188 def compile(pattern, flags=0): | |
189 "Compile a regular expression pattern, returning a pattern object." | |
--> 190 return _compile(pattern, flags) | |
191 | |
192 def purge(): | |
/Users/sam/bamboo-env/lib/python2.7/re.pyc in _compile(*key) | |
240 p = sre_compile.compile(pattern, flags) | |
241 except error, v: | |
--> 242 raise error, v # invalid expression | |
243 if len(_cache) >= _MAXCACHE: | |
244 _cache.clear() | |
error: bad character range |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment