GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — gh-95555: Support Unicode property escapes \p{...} in regular expressions by serhiy-storchaka · Pull Request #151969 · python/cpython Conversation
| |||||||||||||||||||||||||||||||||||||
Documentation build overview
23 files changed ·
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| Matches ``[0-9]`` if the :py:const:`~re.ASCII` flag is used. | ||
|
|
||
| __ https://www.unicode.org/versions/Unicode15.0.0/ch04.pdf#G134153 | ||
| __ https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-4/#G124142 |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This should be added to:
cpython/Tools/unicode/makeunicodedata.py
Lines 42 to 48 in 868d9a8
| # The Unicode Database | |
| # -------------------- | |
| # When changing UCD version please update | |
| # * Doc/library/stdtypes.rst, and | |
| # * Doc/library/unicodedata.rst | |
| # * Doc/reference/lexical_analysis.rst (three occurrences) | |
| UNIDATA_VERSION = "17.0.0" |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is unrelated?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I don't think it is, if you're updating the link in this PR.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Ah, you mean to add this file to that list?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,267 @@ | |||
| # | |||
| # Secret Labs' Regular Expression Engine | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This wasn't written by the company, nor is it licensed to them?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think (but I am not sure), the Secret Labs credit is an internal joke. I can drop it if nobody can confirm this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's a joke? It was a real company, founded by Fredrik Lundh. See his bio here, for reference.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It seems I was wrong, it was a real Swedish company of Fredrik Lundh (a.k.a. "the effbot"). References to it are everywhere in the code, even in the module name _sre. So I'll leave it. We're extending their engine, not re-attributing it.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
… properties They are complete fixed sets, matched as fixed ranges: Regional_Indicator (the 26 symbols A..Z), ASCII_Hex_Digit (the ASCII hex digits, = POSIX xdigit) and Hex_Digit (which adds the fullwidth forms). Co-Authored-By: Claude Opus 4.8 <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
# Conflicts: # Doc/whatsnew/3.16.rst # Lib/re/_parser.py
Use the date the new opcodes were finalized rather than a future-dated placeholder. Co-Authored-By: Claude Opus 4.8 <[email protected]>
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.