Regular Expressions 101

Library entries

0
python

whatsapp meta data

[8/23/18, 2:05:50 PM]
Submitted by Mandar Gite - 8 months ago
0
python

meter number

meter number
Submitted by econ - 8 months ago
0
python

租赁

租赁
Submitted by 租赁 - 8 months ago
0
python

Nashvile chords

Nashvile chords
Submitted by Marcos - 8 months ago
0
python

Python Regex Tutorial

Python Regex Tutorial CS384
Submitted by Mayank Agarwal - 8 months ago
0
python

File Parser

File parser
Submitted by anonymous - 8 months ago
0
python

Inf_lab2

Regular expressions for lab2
Submitted by anonymous - 7 months ago
0
python

DD followed by Month in String

-
Submitted by anonymous - 7 months ago
0
python

Find ID

a
Submitted by Shaqalito - 7 months ago
0
python

Parse AWS RDS Releases

Parse AWS RDS Releases
Submitted by anonymous - 7 months ago
0
python

audiomack

valid url test for audiomack website
Submitted by Abdullah Ibn Fulan - 7 months ago

Graphql parser for pretty printing

Vote

0

Regular Expression
python

r"
(?P<field_with_params>[^{ }]+(?P<parenth_open>\()(?P<keyword>[^\(\s]\w+)\s?(?P<colon>\:)\s?(?P<value>(?P<list_open>\[?).+?(?P<list_close>\]?))\s?(?P<parenth_close>\)))|(?P<BEGIN>^\{)|(?P<open>\{)|(?P<END>\}$)|(?P<close>\})|(?P<fragment>(?P<dots>\.{3})\s*?(?P<on>on)\s+?(?P<frag_field>\w+))|(?P<parent_field>(?!(?P=field_with_params)|(?P=fragment))\w+)(?=\s*?\{)|(?P<child_field>(?!(?P=field_with_params)|(?P=fragment))\w+)
"
gm

Description

Loading markdown...
Submitted by iwconfig - 7 months ago