mschwedeler opened a new issue, #38150:
URL: https://github.com/apache/arrow/issues/38150
### Describe the bug, including details regarding any error messages,
version, and platform.
System details:
```
pyarrow: 13.0.0
platform: macOS-12.6.9-arm64-arm-64bit
python: 3.9.13
```
This is as expected:
```python
import re
print(re.findall(r'\bm\b', 'méxico'))
# []
```
This is unexpected:
```python
import pyarrow as pa
print(
pa.compute.match_substring_regex(
pa.array(
[
"méxico",
]
), pattern=r'\bm\b'
)
# <pyarrow.lib.BooleanArray object at 0x4585c27c0>
# [
# true
# ]
```
### Component(s)
Python
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]