GitShow/facebook/pyre2
facebook

pyre2

Python wrapper for RE2

by facebook
Star on GitHubFork

C++

648 stars179 forks14 contributorsQuiet · 2y agoSince 2010BSD-3-Clause

Meet the team

See all 14 on GitHub →
sunshowers
sunshowers13 contributions
dreiss
dreiss5 contributions
noxiouz
noxiouz4 contributions
moreati
moreati2 contributions
flarnie
flarnie2 contributions
jamesgpearce
jamesgpearce2 contributions
adamhooper
adamhooper1 contribution
SpamapS
SpamapS1 contribution

Languages

View on GitHub →
C++73.8%
Python25.7%
Makefile0.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
75
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 3 in progress · Last activity 2y ago
See all on GitHub →
jefimm
unable to install pyre2OpenIssue

Running then command faisl: some help understanding what is wrong would be greatly appreciated

jefimm · 1y ago
mgorny
Replace deprecated `assertRaisesRegexp()` in tests for py3.12OpenPR

Replace the deprecated method calls with , to fix compatibility with Python 3.12.

mgorny · 2y ago
PythonCoderAS
Bump stdlib to c++17OpenPR

Fix #24

PythonCoderAS · 2y ago

Recent fixes

View closed PRs →
dramforever
Use PyVarObject_HEAD_INIT for Python 3MergedPR

PyTypeObject uses PyObject_VAR_HEAD. Initializing a PyObject_VAR_HEAD with PyObject_HEAD_INIT(NULL) happens to work on Python 3 if NULL is convertible to Py_ssize_t, but it's actually completely nonsensical. The details differ between Python 3.x versions, but basically it's initializing the object size (Py_ssize_t) to NULL, and relying on static variable zero initialization to initialize the type to NULL. Use PyVarObject_HEAD_INIT, as the API is intended to be [1]. [1]: https://docs.python.org/3.14/c-api/typeobj.html#examples

dramforever · 6mo ago
YarikMR
Match misplace by 2ClosedIssue

When the ’ (RIGHT SINGLE QUOTATION MARK ; HTML ’ HEX 0x2019 ) is in the string to search the span is displace by 2, for example: string = "it’s your car" regex = re2.compile('you') match = regex.search(string) pather_match = string[match.start():match.end()] print(pather_match) 'ur c'

YarikMR · 5y ago
Structured data for AI agents

Repository: facebook/pyre2. Description: Python wrapper for RE2 Stars: 648, Forks: 179. Primary language: C++. Languages: C++ (73.8%), Python (25.7%), Makefile (0.5%). License: BSD-3-Clause. Open PRs: 3, open issues: 5. Last activity: 2y ago. Community health: 75%. Top contributors: sunshowers, dreiss, noxiouz, moreati, flarnie, jamesgpearce, adamhooper, SpamapS, jwilk, rla3rd and others.

·@ofershap

Replace github.com with gitshow.dev