Skip to content

Commit

Permalink
Update compile pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
cpisciotta committed Jul 11, 2023
1 parent bdf1916 commit 215be3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/XcbeautifyLib/Pattern.swift
Expand Up @@ -57,7 +57,7 @@ enum Pattern: String {
/// $1 = file path
/// $2 = filename (e.g. KWNull.m)
/// $3 = target
case compile = #"^Compile[\w]+\s.+?\s((?:\.|[^ ])+\/((?:\.|[^ ])+\.(?:m|mm|c|cc|cpp|cxx|swift)))\s.*\((in target: (.*)|in target '(.*)' from project '.*')\)"#
case compile = #"^[SwiftCompile|CompileSwift].*?((?:\.|[^ ])+\/((?:\.|[^ ])+\.(?:m|mm|c|cc|cpp|cxx|swift)))\s.*\((in target: (.*)|in target '(.*)' from project '.*')\)"#
#endif

/// Regular expression captured groups:
Expand Down

0 comments on commit 215be3c

Please sign in to comment.