You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Thu, Feb 15, 2024 at 9:42 AM suciokhan ***@***.***> wrote:
*Describe the bug*
In the second cell, the code returns an attribute error:
`AttributeError: 'list' object has no attribute 'find_all'
*To Reproduce*
Execute:
import regex
re = regex.compile(r'(?:(?P<phrase>(?P<word>(?P<char>\w)+) (?P<number>(?P<digit>\d)+))\s*)+')
m = regex.fullmatch()
*Expected behavior*
Regex match performed.
*Additional Context*
Using Python 3.10.12
Using regex 2.5.140
—
Reply to this email directly, view it on GitHub
<#5>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3KJCMPJIN24G77R7MVTYDDYTYNEXAVCNFSM6AAAAABDKMJDWKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTMNZQHAZTOMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Describe the bug
In the second code cell of this sheet (https://github.com/rlayers/pawpaw/blob/master/docs/0.%20Introduction.md) the code returns an attribute error:
'TypeError: fullmatch() missing 2 required positional arguments: 'pattern' and 'string'
To Reproduce
Execute:
Expected behavior
Regex match performed.
It can be fixed by changing to:
m = regex.fullmatch(re, s)
Unfortunately...the 4th section also fails once this correction is implemented...
Running this:
Will result in this:
AttributeError: 'list' object has no attribute 'find_all'
I haven't gotten further in running this introduction- can you please review it for any additional issues?
Additional Context
Using Python 3.10.12
Using regex 2.5.140
The text was updated successfully, but these errors were encountered: