couchbaselabs / intrapop

1 stars 1 forks source link

could use tighter regexp for intrapop tokenizer ticket exceptions #29

Open steveyen opened 9 years ago

steveyen commented 9 years ago

https://github.com/couchbaselabs/intrapop/blob/master/main.go#L88

mschoch commented 9 years ago

I had proposed:

 [A-Z]{2,}-\d+

Should match 2 or more capital letters followed by dash and 1 or more numbers. If false positives are happening, could also add upper bound on number of letters in project identifier.