Skip to content

Commit

Permalink
Pass allow_escape=True
Browse files Browse the repository at this point in the history
  • Loading branch information
PossiblyAShrub committed Nov 27, 2024
1 parent 57cbcca commit 20bd8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osh/split.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ def SplitForWordEval(self, s, ifs=None):
Also used by the explicit shSplit() function.
"""
sp = self._GetSplitter(ifs=ifs)
spans = sp.Split(s, True)
#spans = sp.Split(s, True)

# Note: pass allow_escape=False so \ isn't special
#spans = sp.Split(s, False)
spans = sp.Split(s, False)

if 0:
for span in spans:
Expand Down

0 comments on commit 20bd8a9

Please sign in to comment.