mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
2aea4a063b
commit
396b47bbbd
8 changed files with 1019 additions and 570 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue