File: multiline_regex.txt

package info (click to toggle)
cmd2 3.2.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,664 kB
  • sloc: python: 17,488; makefile: 114; sh: 39; javascript: 7
file content (6 lines) | stat: -rw-r--r-- 163 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
# these regular expressions match multiple lines of text

(Cmd) say -r 3 -s yabba dabba do
/\A(YA.*?DO\n?){3}/
(Cmd) say -r 5 -s yabba dabba do
/\A([A-Z\s]*$){3}/