Just van Rossum wrote: > > If bytes support the buffer interface, we get another interesting > > issue -- regular expressions over bytes. Brr. > > We already have that: > > >>> import re, array > >>> re.search('\2', array.array('B', [1, 2, 3, 4])).group() > array('B', [2]) > >>> > > Not sure whether to blame array or re, though... SRE. iirc, the design rationale was to support RE over mmap'ed regions. </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4