Regular Expressions 101

Match using named groups in .NET (C#)

Open Workspace
  • .NET 10.0 (C#)
  • Match
0

Regular Expression

@"
(?<remotename>\w*)(?<seperator>\/)(?<branchname>\w*)
"
gm

Description

Developed for posh-git

Submitted by marckassay