diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-16 00:29:12 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-16 00:29:12 -0400 |
| commit | 14b04f97be197940eb6244f17deda5c344176c91 (patch) | |
| tree | ab171cd1ae0e37df6144c5bde0725dbc6eb3476c /examples/ini/ini.tm | |
| parent | 10a51ad996482d07ecfe4bcd3251b4e8701a30df (diff) | |
Quote Patterns with "|" instead of "/" when applicable
Diffstat (limited to 'examples/ini/ini.tm')
| -rw-r--r-- | examples/ini/ini.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ini/ini.tm b/examples/ini/ini.tm index 7598417f..8b91d3fa 100644 --- a/examples/ini/ini.tm +++ b/examples/ini/ini.tm @@ -29,7 +29,7 @@ func parse_ini(path:Path)->{Text:{Text:Text}}: return {k:v[] for k,v in sections} func main(path:Path, key:Text?): - keys := key:or_else(""):split($Pattern"/") + keys := key:or_else(""):split($|/|) if keys.length > 2: exit(" Too many arguments! |
