Regular Expressions 101

Community Patterns

Find labels without preferredMaxLayoutWidth and multiple lines in Appl

-2

Regular Expression
PCRE (PHP <7.3)

/
(<label(?!.*preferredMaxLayoutWidth).*numberOfLines.*>)
/
g

Description

Allows to find label generating warnings like "Automatic Preferred Max Layout Width before iOS 8.0" in XCode

Submitted by Alessio Anesa - 8 years ago