Skip to content

Commit e3fdfbb

Browse files
author
James Brundage
committed
feat: ?<Symbol_Currency> ( Fixes #214 )
1 parent 1851d7d commit e3fdfbb

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

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 Math Symbol" |
5+
New-RegEx -CharacterClass SymbolMath |
6+
Set-Content -Path (Join-Path $myRoot $myName)
7+
8+
9+

RegEx/Symbol/Currency.regex.txt

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

0 commit comments

Comments
 (0)