Debian Codegraph @

examples/demo_str2regexp

raw
1 #!/usr/bin/env runawk
2
3 #use "str2regexp.awk"
4
5 # This demo converts string ($0) to regexp that matches this string
6
7 # Input files for this demo: examples/demo_str2regexp.in*
8
9 {
10 print $0 " --> " str2regexp($0)
11 }