aboutsummaryrefslogtreecommitdiff
path: root/compatibility/3.8.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-12-30 19:04:34 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-12-30 19:04:45 -0800
commit8a3c32408733a2f5e14f8a2dbafa3f980b2f73a1 (patch)
tree68f1e8a8b956c33ed24cc7a6a369fd97b8849321 /compatibility/3.8.nom
parent359152da1772ce501609edd8f84b4985ed3e42f2 (diff)
Update to new syntax.
Diffstat (limited to 'compatibility/3.8.nom')
-rw-r--r--compatibility/3.8.nom28
1 files changed, 14 insertions, 14 deletions
diff --git a/compatibility/3.8.nom b/compatibility/3.8.nom
index 7de2c71..3362a9c 100644
--- a/compatibility/3.8.nom
+++ b/compatibility/3.8.nom
@@ -1,19 +1,19 @@
-#!/usr/bin/env nomsu -V5.12.12.8
+#!/usr/bin/env nomsu -V6.12.12.8
#
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 [..]
+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
+] 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