Skip to content

Instantly share code, notes, and snippets.


baba_s baba-s

View GitHub Profile
View Unity Right Click Open Folder.reg
Windows Registry Editor Version 5.00
"MUIVerb"="Open as Unity Project"
@="cmd /c start /D\"c:\\Program Files\\Unity\\Editor\\\" Unity.exe -projectPath \"%1\""
FabienDehopre / Identifier.cs
Last active Jan 27, 2021
Validate C# identifier name
View Identifier.cs
using System;
using System.Linq;
using System.Text.RegularExpressions;
public static class IdentifierExtensions
// definition of a valid C# identifier:
private const string FORMATTING_CHARACTER = @"\p{Cf}";
private const string CONNECTING_CHARACTER = @"\p{Pc}";
private const string DECIMAL_DIGIT_CHARACTER = @"\p{Nd}";