Skip to content

Commit

Permalink
impl
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Jul 4, 2024
1 parent 6474905 commit 2beef06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions serializable/_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@

# region normalizedString

_normalized_string_forbitten_search = re_compile(r'\r\n|\t|\n|\r')
_normalized_string_forbitten_replace = ' '
_normalized_string_forbidden_search = re_compile(r'\r\n|\t|\n|\r')
_normalized_string_forbidden_replace = ' '


def normalizedString(s: str) -> str:
return _normalized_string_forbitten_search.sub(
_normalized_string_forbitten_replace,
return _normalized_string_forbidden_search.sub(
_normalized_string_forbidden_replace,
s)

# endregion
Expand Down

0 comments on commit 2beef06

Please sign in to comment.