UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 0beb2077 authored by Anthony Collins's avatar Anthony Collins
Browse files

gensite

parent e0dd1492
Branches
No related merge requests found
Pipeline #118477 passed with stages
in 33 seconds
......@@ -848,8 +848,8 @@ Regular expressions, or `regex`, are a pattern matching language developed in th
.*Showing how regular expressions can match on multiple permutations of strings*
[source,bash]
----
student@linux-opstation-kspt:~$ echo -e "Handel\nHändel\nHaendel" > regexfile <1>
student@linux-opstation-kspt:~$ grep -P "H(ä|ae?)ndel" regexfile > <2> <3>
student@linux-opstation-kspt:~$ echo -e "Handel\nHändel\nHaendel" > regexfile <1>
student@linux-opstation-kspt:~$ grep -P "H(ä|ae?)ndel" regexfile <2> <3>
Handel
Händel
Haendel
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment