Skip to content

Commit

Permalink
Added missing backslash escape
Browse files Browse the repository at this point in the history
  • Loading branch information
clementpadovani committed Dec 30, 2017
1 parent 07b249f commit eb785ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImportExtension/AddImportOperation.swift
Expand Up @@ -12,7 +12,7 @@ import AppKit
fileprivate struct AddImportOperationConstants {

/// Import matchers
static let objcImport = "#\s*(import|include).*[\",<].*[\",>]"
static let objcImport = "#\\s*(import|include).*[\",<].*[\",>]"
static let objcModuleImport = "@(import).*.;"
static let swiftModuleImport = "(import) +.*."
static let objcClassForwardDeclaration = "@(class).*.;"
Expand Down

0 comments on commit eb785ca

Please sign in to comment.