Regular Expressions 101

Community Patterns

0

Find ID

Python
a
Submitted by Shaqalito - a year ago
0

DD followed by Month in String

Python
-
Submitted by anonymous - a year ago
0

Inf_lab2

Python
Regular expressions for lab2
Submitted by anonymous - a year ago
0

File Parser

Python
File parser
Submitted by anonymous - a year ago
0

Nashvile chords

Python
Nashvile chords
Submitted by Marcos - a year ago

Parse Kubernetes Resource URI Paths

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 - 2 years ago