Regular Expressions 101

Community Patterns

7

CSS Import

Python
no description available
Submitted by anonymous - 10 years ago
9

domain - host

Python
no description available
Submitted by anonymous - 8 years ago
8

repeat group match

Python
no description available
Submitted by anonymous - 8 years ago
10

entity

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

date time

Python
1/Jul/2013 03:27:12
Submitted by himel - 10 years ago
2

postgesql

Python
no description available
Submitted by anonymous - 8 years ago
1

REGEX

Python
no description available
Submitted by anonymous - 9 years ago

SparkplugB Topic Pattern

0

Regular Expression
Python

r"
^# define which type of Sparkplug this is (?P<raw> (?P<namespace> sp (?P<payload_type>[AB]) v(?P<version>[0-9.]+)) / (?P<group_id>.+?) # Commands are for either Nodes, Devices, or State (meta) / (?P<command>([ND](BIRTH|DEATH|DATA|CMD)|STATE)) / (?P<node_id>.+?) # Device ID is optional (/ (?P<topic> (?P<device_id>.+?) # there can be more to the topic, though there shouldn't be (/ (?P<remaining_topic>.+))? ))?)$
"
gmx

Description

Loading markdown...
Submitted by null-directory - 7 months ago