Skip to content

Instantly share code, notes, and snippets.

Pavel Zdeněk pavel-zdenek

Block or report user

Report or block pavel-zdenek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pavel-zdenek /
Last active Jan 25, 2017
Regex to search for force unwraps in Swift code

^(?!(.*?\s+)?(#|\/\/)).*?\w+\!([ .\)]|$)


^(?!.*?\s+(#|\/\/)\s+) Filter out comments in shellscript and C++ single-line style. C-style multiline would be nice to have but extremely complicated and this already covers 80%

?! Assert nonmatch of (.*?\s+)? Optionally a sequence of any characters followed by at least one whitespace

pavel-zdenek /
Last active Nov 5, 2016
Xcode8 on Circle insists on Pod signing
You can’t perform that action at this time.