Skip to content

Commit

Permalink
do not do patterns as they break words
Browse files Browse the repository at this point in the history
  • Loading branch information
Fogapod committed Feb 24, 2024
1 parent 78c4128 commit e79fc31
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions examples/scotsman.ron
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,11 @@
"tired": {"Literal": "knackert"},
"gay": {"Literal": "bufty"},
"testing": {"Literal": "testin`"},
"fucking": {"Literal": "fookin`,feckin"},
"fucking": {"Any": [
{"Literal": "fookin`"},
{"Literal": "feckin"},
]},
"fuck": {"Literal": "fook"},
"mom": {"Any": [
{"Literal": "maw"},
{"Literal": "mam"},
Expand Down Expand Up @@ -650,13 +654,6 @@
]},
},
),
"patterns": (
rules: {
r"\bfuck": {"Literal": "fook"},
"h?ou": {"Literal": "oo"},
"ow": {"Literal": "ou"},
},
),
"ending": (
rules: {
"$": {"Weights": {
Expand Down

0 comments on commit e79fc31

Please sign in to comment.