swift-simulator: extract regexp escape function
swift-simulator: extract regexp escape function

mindware/swift-browser,mgeisler/swift-browser,mindware/swift-browser,zerovm/swift-browser,mgeisler/swift-browser,zerovm/swift-browser