Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sqlchow/PowerShellVerbalExpressions

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PowerShellVerbalExpressions

PowerShell regular expression made easy using Verbal expressions.

**Note:**This is currently a partial implementation only.

##How to start

Import-Module -Name Poverb

##How To use it Currently the output is only a string that has the regular expression you desire.

API documentation

	Get-RegexFromVerbex -Verbex {
		startofline
		then "http"
		maybe "s"
		then "://"
		maybe "www."
		anythingbut " "
		endofline
	}

the output is:

	'^(?:http)(?:s)?(?:://)(?:www\.)?(?:[^\ ]*)$'

Other implementations

You can view all implementations on VerbalExpressions.github.io

##References

  1. Jim Hollenhorst - The 30 Minute Regex Tutorial
  2. VerbalExpressions.github.io
  3. Peder Søholt
  4. Karl Prosser for writing Invoke-Ternary filter
  5. Doug Finke

About

Verbal expressions using powershell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.