Regular Expressions 101

Sponsors

Library entries

1
golang

1

11
Submitted by anonymous - a month ago
1
java

phone number middle number parsing

middle number parsing regex
Submitted by anonymous - 8 days ago

Parse Kubernetes Resource URI Paths

Vote

1

Regular Expression
golang

`
^(?:/api|/apis/(?P<GROUP>[^/]+))/(?P<VERSION>[^/]+)(?:/namespaces/(?P<NAMESPACE>[^/]+))?/(?P<RESOURCETYPE>[^/\n]+)(?:/(?P<NAME>[^/\n]+))?(?:/(?P<SUBRESOURCE>[^/\n]+))?$
`
gm

Description

Loading markdown...
Submitted by Mathew Wicks - a year ago