Grokzen / Grokzen/pykwalify

Using fulmatch for regex matching.

Open
#182 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
297
Forks
84
PR merge metrics
No merged PRs in 30d

Description

### Proposed Functionality
For regex matching, we are using re.match which only checks if the pattern/regex is present at the beginning of the string. But if that is the case then the name `pattern` sounds ambiguous cause it looks like we are defining a pattern and the input string should follow that pattern.
```
regex = '.*@domain.com'
pattern1 = 'name@domain.com' # this should match
pattern2 = 'name@domain.comSomethingElse' #This should not match
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.