Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3284)

Delta Between Two Patch Sets: Lib/sre_constants.py

Issue 13592: repr(regex) doesn't include actual regex
Left Patch Set: Created 10 months ago
Right Patch Set: Created 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | Lib/test/test_re.py » ('j') | Lib/test/test_re.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 # 1 #
2 # Secret Labs' Regular Expression Engine 2 # Secret Labs' Regular Expression Engine
3 # 3 #
4 # various symbols used by the regular expression engine. 4 # various symbols used by the regular expression engine.
5 # run this script to update the _sre include files! 5 # run this script to update the _sre include files!
6 # 6 #
7 # Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved. 7 # Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved.
8 # 8 #
9 # See the sre.py file for information on usage and redistribution. 9 # See the sre.py file for information on usage and redistribution.
10 # 10 #
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 f.write("#define SRE_FLAG_VERBOSE %d\n" % SRE_FLAG_VERBOSE) 255 f.write("#define SRE_FLAG_VERBOSE %d\n" % SRE_FLAG_VERBOSE)
256 f.write("#define SRE_FLAG_DEBUG %d\n" % SRE_FLAG_DEBUG) 256 f.write("#define SRE_FLAG_DEBUG %d\n" % SRE_FLAG_DEBUG)
257 f.write("#define SRE_FLAG_ASCII %d\n" % SRE_FLAG_ASCII) 257 f.write("#define SRE_FLAG_ASCII %d\n" % SRE_FLAG_ASCII)
258 258
259 f.write("#define SRE_INFO_PREFIX %d\n" % SRE_INFO_PREFIX) 259 f.write("#define SRE_INFO_PREFIX %d\n" % SRE_INFO_PREFIX)
260 f.write("#define SRE_INFO_LITERAL %d\n" % SRE_INFO_LITERAL) 260 f.write("#define SRE_INFO_LITERAL %d\n" % SRE_INFO_LITERAL)
261 f.write("#define SRE_INFO_CHARSET %d\n" % SRE_INFO_CHARSET) 261 f.write("#define SRE_INFO_CHARSET %d\n" % SRE_INFO_CHARSET)
262 262
263 f.close() 263 f.close()
264 print("done") 264 print("done")
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7