issue2636-23 : Code : Python
lp:~pythonregexp2.7/python/issue2636-23
Created by TimeHorse and last modified
The goal of this item is to provide a solution to the mysterious behaviour described in issue 5311. Basically, the problem is that the character class range '[9-A]' should match the characters in the set ['9', ':', ';', '<', '=', '>', '?', '@', 'A'], but when case-insensitive behaviour is applied, the set of characters that it matches will include ['[', '\\', ']', '^', '_', '`']. These characters occur at an ordinal position between the Uppercase and Lowercase alphabet in ASCII and result from the 'A' in '[9-A]' being converted to lowercase first before the Character Range is evaluated. Thus, the '[9-A]' range will produce unexpected characters that do not technically occur in the specified range.
- Get this branch:
- bzr branch lp:~pythonregexp2.7/python/issue2636-23
Branch merges
Related bugs
Related blueprints
Branch information
Recent revisions
- 39039. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
- 39038. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
- 39037. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
- 39036. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
- 39035. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
- 39034. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
- 39033. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
- 39032. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
- 39031. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
- 39030. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 with rich root (needs bzr 1.0)