| 1 |
Initialize strong regex |
| 2 |
Test gsub on strong regex |
| 3 |
rgx1 = '[abc]' typeof(rgx1) = 'regexp' |
| 4 |
rgx2 = '[abc]' typeof(rgx2) = 'regexp' |
| 5 |
Test gsub() a strong regex |
| 6 |
rgx1 = '[abc]' typeof(rgx1) = 'regexp' |
| 7 |
rgx2 = '[aec]' typeof(rgx2) = 'regexp' |
| 8 |
Test value not found in regex |
| 9 |
rgx1 = '[abc]' typeof(rgx1) = 'regexp' |
| 10 |
Test gsub on numbers |
| 11 |
v1 = '12345' typeof(v1) = 'number' |
| 12 |
v2 = '12345' typeof(v2) = 'number' |
| 13 |
v1 = '12345' typeof(v1) = 'number' |
| 14 |
v2 = '12x45' typeof(v2) = 'string' |
| 15 |
Test value not found in number |
| 16 |
v1 = '12345' typeof(v1) = 'number' |
| 17 |
Test gensub on regex |
| 18 |
a = @/abc/ typeof(a) = 'regexp' |
| 19 |
c = "axc" typeof(c) = 'string' |
| 20 |
Test value not found in regex |
| 21 |
b = @/abc/ typeof(b) = 'regexp' |
| 22 |
c = "abc" typeof(c) = 'string' |
| 23 |
Test gensub on numbers |
| 24 |
a = "12345" typeof(a) = 'number' |
| 25 |
b = "12345" typeof(b) = 'number' |
| 26 |
c = "12x45" typeof(c) = 'string' |
| 27 |
Test value not found in number |
| 28 |
b = "12345" typeof(b) = 'number' |
| 29 |
c = "12345" typeof(c) = 'string' |
| 30 |
string 12345 |