Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #337 from github-for-unity/fixes/334-regex-compila…
Browse files Browse the repository at this point in the history
…tion-bleh

Release 0.21.1: Removing regex expressions that crash Unity
  • Loading branch information
StanleyGoldman authored Sep 21, 2017
2 parents 802277b + de49b59 commit b363483
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/UnityExtension/Assets/Editor/GitHub.Unity/Misc/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ class Utility : ScriptableObject
private static readonly ILogging logger = Logging.GetLogger<Utility>();

public const string StatusRenameDivider = "->";
public static readonly Regex ListBranchesRegex =
new Regex(@"^(?<active>\*)?\s+(?<name>[\w\d\/\-_]+)\s*(?:[a-z|0-9]{7} \[(?<tracking>[\w\d\/\-\_]+)\])?");
public static readonly Regex ListRemotesRegex =
new Regex(@"(?<name>[\w\d\-_]+)\s+(?<url>https?:\/\/(?<login>(?<user>[\w\d]+)(?::(?<token>[\w\d]+))?)@(?<host>[\w\d\.\/\%]+))\s+\((?<function>fetch|push)\)");
public static readonly Regex LogCommitRegex = new Regex(@"commit\s(\S+)");
public static readonly Regex LogMergeRegex = new Regex(@"Merge:\s+(\S+)\s+(\S+)");
public static readonly Regex LogAuthorRegex = new Regex(@"Author:\s+(.+)\s<(.+)>");
Expand Down

0 comments on commit b363483

Please sign in to comment.