Skip to content

Commit ae320af

Browse files
author
James Brundage
committed
feat: ?<Symbol> ( Fixes #202 )
1 parent 9882af1 commit ae320af

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

RegEx/Symbol.regex.source.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
$myName = ($MyInvocation.MyCommand.ScriptBlock.File | Split-Path -Leaf) -replace '\.source', '' -replace '\.ps1', '.txt'
2+
$myRoot = $MyInvocation.MyCommand.ScriptBlock.File | Split-Path
3+
4+
New-RegEx -Description "Matches a Symbol" |
5+
New-RegEx -CharacterClass Symbol |
6+
Set-Content -Path (Join-Path $myRoot $myName)
7+
8+
9+

RegEx/Symbol.regex.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Matches a Symbol
2+
\p{S}

0 commit comments

Comments
 (0)