Cut Gamzee down to one REGEXP
This commit is contained in:
parent
926efa748e
commit
25fae862f1
1 changed files with 169 additions and 177 deletions
|
@ -137,23 +137,15 @@ Gamzee
|
|||
------
|
||||
#####Version 1: "HoNk HoNk"
|
||||
<pre>
|
||||
REGEXP: "([a-zA-Z])([a-zA-Z])"
|
||||
REGEXP: "([a-zA-Z])([a-zA-Z]?)"
|
||||
REPLACED WITH: "upper(\1)\2"
|
||||
</pre>
|
||||
<pre>
|
||||
REGEXP: "([a-z])([a-z])\b"
|
||||
REPLACED WITH: "\1upper(\2)"
|
||||
</pre>
|
||||
|
||||
#####Version 2: "HoNk hOnK"
|
||||
<pre>
|
||||
REGEXP: "(.)(.)"
|
||||
REGEXP: "([\w\s])([\w\s]?)"
|
||||
REPLACED WITH: "upper(\1)\2"
|
||||
</pre>
|
||||
<pre>
|
||||
REGEXP: "([a-z])(.)\b"
|
||||
REPLACE WITH: "\1upper(\2)"
|
||||
</pre>
|
||||
|
||||
Eridan
|
||||
------
|
||||
|
|
Loading…
Reference in a new issue