-- card: 7746 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 2685 -- name: Regular Expressions -- part contents for background part 9 ----- text ----- DemoStack 0.9 -- part contents for background part 1 ----- text ----- Regular Expressions -- part contents for background part 12 ----- text ----- Card #8 -- part contents for background part 14 ----- text ----- Research is used for searching for a pattern in either a single input string, or in a list of containers, which may be in more than one card. REGULAR EXPRESSIONS Following is a brief summary of the regular expressions understood by Research. c match character c \c take away special meaning of c [...] characters in [...]; ranges like a-z [^...] characters not in [...]; ranges like a-z ^r anchor to start of line r$ anchor to end of line r* zero more times r+ one or more times r? zero or one time r{n} repeat n times r{n,} repeat n times or more r{,m} repeat 0 to m times r{n,m} repeat n to m times \(r\) tag expression \n refer to n'th tagged expression r1|r2 expression r1 or r2 (r) group expression -- part contents for background part 13 ----- text ----- Description