Shows one problem of words-nonword.
diff --git a/test.txt b/test.txt
--- a/test.txt
+++ b/test.txt
-@@ -1,21 +1,22 @@
+@@ -1,26 +1,27 @@
Tests
====
}
}
return 42;
+}
+
+allow = $0 $! $? $.
+allow = $! $?
+allow = $0 $! $?
diff --git a/test.txt b/test.txt
--- a/test.txt
+++ b/test.txt
-@@ -1,21 +1,22 @@
+@@ -1,26 +1,27 @@
Tests
[-=====-]{+====+}
}
}
return 42;
+}
+
+allow = {+$0+} $! $? $.
+allow = $! $?[-$.-]
+allow = {+$0+} $! $?[-$.-]
diff --git a/test.txt b/test.txt
--- a/test.txt
+++ b/test.txt
-@@ -1,21 +1,22 @@
+@@ -1,26 +1,27 @@
Tests
====[-=-]
}
}
return 42;
+}
+
+allow = ${+0 $+}! $? $.
+allow = $! $?[- $.-]
+allow = $[-!-]{+0+} $[-?-]{+!+} $[-.-]{+?+}
diff --git a/test.txt b/test.txt
--- a/test.txt
+++ b/test.txt
-@@ -1,21 +1,22 @@
+@@ -1,26 +1,27 @@
Tests
====[-=-]
}
}
return 42;
+}
+
+allow = ${+0 $+}! $? $.
+allow = $! $?[- $.-]
+allow = $[-!-]{+0+} $[-?-]{+!+} $[-.-]{+?+}
diff --git a/test.txt b/test.txt
--- a/test.txt
+++ b/test.txt
-@@ -1,21 +1,22 @@
+@@ -1,26 +1,27 @@
Tests
[-=====-]{+====+}
}
}
return 42;
+}
+
+allow[- = $! $? $.-]{+ = $0 $! $? $.+}
+allow[- = $! $? $.-]{+ = $! $?+}
+allow[- = $! $? $.-]{+ = $0 $! $?+}
diff --git a/test.txt b/test.txt
--- a/test.txt
+++ b/test.txt
-@@ -1,21 +1,22 @@
+@@ -1,26 +1,27 @@
Tests
[-=====-]{+====+}
}
}
return 42;
+}
+
+allow[- = $! $? $.-]{+ = $0 $! $? $.+}
+allow[- = $! $? $.-]{+ = $! $?+}
+allow[- = $! $? $.-]{+ = $0 $! $?+}
diff --git a/test.txt b/test.txt
--- a/test.txt
+++ b/test.txt
-@@ -1,21 +1,22 @@
+@@ -1,26 +1,27 @@
Tests
[-=====-]{+====+}
}
}
return 42;
+}
+
+allow = {+$0 +}$! $? $.
+allow = $! $?[- $.-]
+allow = {+$0 +}$! $?[- $.-]
diff --git a/test.txt b/test.txt
--- a/test.txt
+++ b/test.txt
-@@ -1,21 +1,22 @@
+@@ -1,26 +1,27 @@
Tests
[-=====-]{+====+}
}
}
return 42;
+}
+
+allow = {+$0+} $! $? $.
+allow = $! $?[-$.-]
+allow = {+$0+} $! $?[-$.-]
}
return 42;
}
+
+allow = \$! \$? \$.
+allow = \$! \$? \$.
+allow = \$! \$? \$.
EOF
git add test.txt
git commit -m 'Initial commit.' > /dev/null
}
return 42;
}
+
+allow = \$0 \$! \$? \$.
+allow = \$! \$?
+allow = \$0 \$! \$?
EOF