generate the unicode tables directly from web database

after this CL, two more to come:
	1) add an exhaustive test, probably as a variant of maketables
	2) add ToUpper, ToLower, ToTitle and associated tests

R=rsc
DELTA=1578  (1007 added, 559 deleted, 12 changed)
OCL=33902
CL=33907
This commit is contained in:
Rob Pike 2009-08-26 16:01:31 -07:00
parent 2aea4a063b
commit 396b47bbbd
8 changed files with 1019 additions and 570 deletions

View file

@ -68,7 +68,7 @@ func (c *common) setNext(i instr) { c._next = i }
func (c *common) index() int { return c._index }
func (c *common) setIndex(i int) { c._index = i }
// The representation of a compiled regular expression.
// Regexp is the representation of a compiled regular expression.
// The public interface is entirely through methods.
type Regexp struct {
expr string; // the original expression