diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-14 19:18:18 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-14 19:18:18 -0700 |
| commit | b721356d8bff2631b90c5c091568327b2ca187fc (patch) | |
| tree | 24a4a266ea8d8de391b255d5a594384e1f3198f9 /compatibility | |
| parent | e22c35681f90740b4f5006c30b3f154ebd1f8ea2 (diff) | |
Added 3.8 upgrade.
Diffstat (limited to 'compatibility')
| -rw-r--r-- | compatibility/3.8.nom | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/compatibility/3.8.nom b/compatibility/3.8.nom new file mode 100644 index 0000000..9538770 --- /dev/null +++ b/compatibility/3.8.nom @@ -0,0 +1,22 @@ +#!/usr/bin/env nomsu -V4.8.8.6 +# + This file defines upgrades from Nomsu <3.8 to 3.8 (Text method changes) + +upgrade action [%texts joined with %glue] to "3.8" as (%texts::joined with %glue) +upgrade action [%texts joined, joined %texts] to "3.8" as (%texts::joined) +upgrade action [byte %i of %text] to "3.8" as (%text::byte %i) +upgrade action [bytes %start to %stop of %text] to "3.8" as (..) + %text::bytes %start to %stop + +upgrade action [bytes of %text] to "3.8" as (%text::bytes) +upgrade action [capitalized %text, %text capitalized] to "3.8" as (..) + %text::capitalized + +upgrade action [uppercase %text, %text uppercase] to "3.8" as (%text::uppercase) +upgrade action [..] + %text with %sub instead of %patt, %text with %patt replaced by %sub + %text s/ %patt / %sub +..to "3.8" as (%text::with %patt -> %sub) + +upgrade action [%text matches %pattern] to "3.8" as (%text::matches %pattern) +upgrade action [%text matching %pattern] to "3.8" as (%text::matching %pattern).1 |
