root/NEWT0/trunk/sample/regex.newt

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

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 browser.