Vassili's regex code

John Leuner jewel at pixie.co.za
Tue Mar 1 07:27:01 PST 2005


I have ported most of Vassili's regex code from Squeak to Slate.

The attached code is still a work in progress (my goal is to be able to
use this regex:
'^(([^:/?#]+)\\:)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?'

to parse a URL and then extract the relevant parts by subexpression).

I'm posting it a) as a backup b) to let people know I'm working on it
and c) to let anyone use/browse and comment 

John Leuner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vregex.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 7748 bytes
Desc: not available
Url : /archives/slate/attachments/20050301/e4e59349/vregex.tar.bin


More information about the Slate mailing list