source: NEWT0/trunk/sample/regex.newt @ 1

Revision 1, 149 bytes checked in by gnue, 7 years ago (diff)

import project

Line 
1#!newt
2
3// protoREGEX sample code.
4
5Require("protoREGEX");
6
7re := /([a-zA-Z]+)([0-9]*)/;
8matchs := re:match("foo123");
9
10matchs[2] & ";" & matchs[1];
Note: See TracBrowser for help on using the repository browser.