Regular Expressions 101

Community Patterns

0

My text

Python
no description available
Submitted by anonymous - 3 years ago
0

emojis

Golang
no description available
Submitted by anonymous - 3 years ago
0

my first re

Python
no description available
Submitted by anonymous - 3 years ago
0

Links

Python
no description available
Submitted by anonymous - 3 years ago
0

Strings

Python
no description available
Submitted by anonymous - 3 years ago
0

Commit msg

Golang
no description available
Submitted by anonymous - 3 years ago
0

Movements

Python
no description available
Submitted by anonymous - 3 years ago
0

Thai District

Python
no description available
Submitted by anonymous - 3 years ago
0

Thai Province

Python
no description available
Submitted by anonymous - 3 years ago
0

匹配数字

Python
no description available
Submitted by anonymous - 3 years ago

AE Log Line

0

Regular Expression
Python

r"
^(?P<LogTime>[A-Za-z0-9 :]+)\s(?P<Hostname>[a-z0-9.-]+)\s(?:ae_(?P<EnvIdentity>[a-z-]+):)\s(?P<ModuleName>[a-zA-Z._]+)?\s-\s(?P<LogLevel>[A-Z]+)\s-\s(?:\[JID:(gen:)?(?P<TaskId>[a-z0-9-]+)\]\s?)?(?:\[FID:(?P<FieldId>[a-z0-9-]+)\]\s?)?(?:\[Itin:(?P<Itinerary>[A-Za-z0-9]+)(?:->(?P<Step>[A-Z0-9a-z]+))?\]\s?)?(?:\[State:(?P<State>[A-Za-z]+)\]\s?)?(?:alias=(?P<StepAlias>[a-z0-9]+),\s)?(?:runtime_s=\[?(?P<JobRuntimeSeconds>[0-9.]+)\]?\s?)?(?:metadata=(?P<Metadata>{.*}))?$
"
gm

Description

Loading markdown...
Submitted by anonymous - 4 years ago