gordonjb / graplist.fm

Stats for wrestling shows you've attended, sourced from Cagematch.net. setlist.fm, for wrestling. Taking suggestions for better names
2 stars 0 forks source link

Some one off gimmicks make it through regex #25

Open gordonjb opened 5 years ago

gordonjb commented 5 years ago

Issue with #16

Found an exception in https://www.cagematch.net/?id=1&nr=211121:

The Sheepwhacker Cousins (NIWA, TK Cooper & Travis Banks) defeat Blumenfeld, Harrington-Smythe & Jones (Lewis Howley, Sam Stoker & Sid Scala)

Blumenfeld, Harrington-Smythe and Jones are all included in the All Workers list.

Blumenfeld doesn't make it through, as all positive matches are followed by a space or the end of the line. Jones is followed by a space and bracket, as expected. Harrington-Smythe makes it through as it's followed by a space and then an ampersand

Adding & to the bracket exclusion regex would address this, but would easily cause an issue where we could miss something. This might be one we have to leave.