Skip to content

Commit

Permalink
feat: ?<Symbol_Currency> ( Fixes #214 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Apr 16, 2024
1 parent 1851d7d commit e3fdfbb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions RegEx/Symbol/Currency.regex.source.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$myName = ($MyInvocation.MyCommand.ScriptBlock.File | Split-Path -Leaf) -replace '\.source', '' -replace '\.ps1', '.txt'
$myRoot = $MyInvocation.MyCommand.ScriptBlock.File | Split-Path

New-RegEx -Description "Matches a Math Symbol" |
New-RegEx -CharacterClass SymbolMath |
Set-Content -Path (Join-Path $myRoot $myName)



2 changes: 2 additions & 0 deletions RegEx/Symbol/Currency.regex.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Matches a Math Symbol
\p{Sm}

0 comments on commit e3fdfbb

Please sign in to comment.