The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

SOU630 (5) [Avatar] Offline
This is going to be another neophyte question, however, I'm not finding information on the tags used for regular expressions. I'm able to deduce what the tags in the examples are.

In 6.7.3 the example:
PS (6) > switch -regex ('abc') {^a {"a*: $_"} 'c$' {"*c: $_"}}
^ was discussed as an anchor in Chpt 4 and I've figured out that 'c$' means a string ending with a 'c' character. Where can I find a listing of these and other tags?

Kiron (38) [Avatar] Offline
Re: regular expressions
I ran into the same problem, never heard of Regex before PowerShell. It turned out to be a whole different animal, but a powerful one indeed.
Here are some links that I found very useful:
SOU630 (5) [Avatar] Offline
Re: regular expressions
Just what I was looking for, thanks!