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
It seems that when used to sample a regex that includes a . (which should match anything except a newline break), \n will show up in the sample
import re
import intxeger
regex = r"."
x = intxeger.build(regex)
samples = x.sample(min(100, x.length))
non_matches = [item for item in samples if re.fullmatch(regex, item) is None]
print(non_matches)
# ['\n']
The text was updated successfully, but these errors were encountered:
It seems that when used to sample a regex that includes a
.
(which should match anything except a newline break),\n
will show up in the sampleThe text was updated successfully, but these errors were encountered: