Fix syntax warning by removin examples from fix_tuple_delimiter_corruption docstring
This commit is contained in:
parent
619553021e
commit
cbdc386c9a
1 changed files with 0 additions and 20 deletions
|
|
@ -2576,26 +2576,6 @@ def fix_tuple_delimiter_corruption(
|
|||
|
||||
Returns:
|
||||
The corrected record with proper tuple_delimiter format
|
||||
|
||||
Examples:
|
||||
>>> fix_tuple_delimiter_corruption("entity<X|#|>name", "SEP", "<|#|>")
|
||||
"entity<|#|>name"
|
||||
>>> fix_tuple_delimiter_corruption("entity<SEP>name", "SEP", "<|#|>")
|
||||
"entity<|#|>name"
|
||||
>>> fix_tuple_delimiter_corruption("entity|#|>name", "SEP", "<|#|>")
|
||||
"entity<|#|>name"
|
||||
Regex Sample:
|
||||
<\|S\|+S\|>
|
||||
<\|\\S\|>
|
||||
<\|+>
|
||||
<.?\|S\|.?>
|
||||
<\|?S\|?>
|
||||
<[^|]S\|>|<\|S[^|]>
|
||||
<\|S\|(?!>)
|
||||
<\|\|(?!>)
|
||||
(?<!<)\|S\|>
|
||||
<\|S\|>\|
|
||||
\|\|S\|\|
|
||||
"""
|
||||
if not record or not delimiter_core or not tuple_delimiter:
|
||||
return record
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue