We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5960e73 commit a4cd2eaCopy full SHA for a4cd2ea
pydifact/syntax/common.py
@@ -27,14 +27,11 @@ def is_edifact_alphanum(s: str) -> bool:
27
"""Returns True if str contains only alphanumeric characters in the sense of
28
EDIFACT.
29
30
- The set method is extremely fast, which takes precedence here over having
31
- "exotic" chars like
+ See https://service.gefeg.com/jwg1/Files/V41-9735-1.pdf - page 11
32
"""
33
- # https://service.gefeg.com/jwg1/Files/V41-9735-1.pdf - page 11
34
return all(
35
c.isalnum() or (c.isascii() and c.isprintable() and not c.isalnum()) for c in s
36
)
37
- # return all(c in allowed_alphanum_chars for c in s)
38
39
40
def assert_a(s, length, message=""):
0 commit comments