Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2019-04-20 00:31
Flavor·Python

r"
^[^:]*((array|unassigned)*)[^:]*\n$
"
img
Open regex in editor

Description

This does not work.
Needs to find all lines with the word array OR unassigned except for lines with a ':' character.

Submitted by anonymous