mirror of https://github.com/gobwas/glob.git
Fix speed results table formatting.
This commit is contained in:
parent
f756513aec
commit
e7a84e9525
10
readme.md
10
readme.md
|
@ -126,10 +126,10 @@ Pattern | Fixture | Match | Speed (ns/op)
|
||||||
`^[a-z][^a-x].*cat.*[h][^b].*eyes.*$` | `my dog has very bright eyes` | `false` | 1383
|
`^[a-z][^a-x].*cat.*[h][^b].*eyes.*$` | `my dog has very bright eyes` | `false` | 1383
|
||||||
`^https:\/\/.*\.google\..*$` | `https://account.google.com` | `true` | 1205
|
`^https:\/\/.*\.google\..*$` | `https://account.google.com` | `true` | 1205
|
||||||
`^https:\/\/.*\.google\..*$` | `https://google.com` | `false` | 767
|
`^https:\/\/.*\.google\..*$` | `https://google.com` | `false` | 767
|
||||||
`^(https:\/\/.*\.google\..*|.*yandex\..*|.*yahoo\..*|.*mail\.ru)$` | `http://yahoo.com` | `true` | 1435
|
`^(https:\/\/.*\.google\..*\|.*yandex\..*\|.*yahoo\..*\|.*mail\.ru)$` | `http://yahoo.com` | `true` | 1435
|
||||||
`^(https:\/\/.*\.google\..*|.*yandex\..*|.*yahoo\..*|.*mail\.ru)$` | `http://google.com` | `false` | 1674
|
`^(https:\/\/.*\.google\..*\|.*yandex\..*\|.*yahoo\..*\|.*mail\.ru)$` | `http://google.com` | `false` | 1674
|
||||||
`^(https:\/\/.*gobwas\.com|http://exclude.gobwas.com)$` | `https://safe.gobwas.com` | `true` | 1039
|
`^(https:\/\/.*gobwas\.com\|http://exclude.gobwas.com)$` | `https://safe.gobwas.com` | `true` | 1039
|
||||||
`^(https:\/\/.*gobwas\.com|http://exclude.gobwas.com)$` | `http://safe.gobwas.com` | `false` | 272
|
`^(https:\/\/.*gobwas\.com\|http://exclude.gobwas.com)$` | `http://safe.gobwas.com` | `false` | 272
|
||||||
`^abc.*$` | `abcdef` | `true` | 237
|
`^abc.*$` | `abcdef` | `true` | 237
|
||||||
`^abc.*$` | `af` | `false` | 100
|
`^abc.*$` | `af` | `false` | 100
|
||||||
`^.*def$` | `abcdef` | `true` | 464
|
`^.*def$` | `abcdef` | `true` | 464
|
||||||
|
@ -145,4 +145,4 @@ Pattern | Fixture | Match | Speed (ns/op)
|
||||||
## Syntax
|
## Syntax
|
||||||
|
|
||||||
Syntax is inspired by [standard wildcards](http://tldp.org/LDP/GNU-Linux-Tools-Summary/html/x11655.htm),
|
Syntax is inspired by [standard wildcards](http://tldp.org/LDP/GNU-Linux-Tools-Summary/html/x11655.htm),
|
||||||
except that `**` is aka super-asterisk, that do not sensitive for separators.
|
except that `**` is aka super-asterisk, that do not sensitive for separators.
|
||||||
|
|
Loading…
Reference in New Issue