File: README.pattern

package info (click to toggle)
star 1.5a67-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,600 kB
  • ctags: 4,715
  • sloc: ansic: 37,601; sh: 3,198; makefile: 200
file content (19 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Star includes a pattern matcher based on the algorithm
presented by Martin Richards in:

"A Compact Function for Regular Expression Pattern Matching", 
Software-Practice and Experience, Vol. 9, 527-534 (1979)

Several changes have been made to the original source which has been
written in BCPL:

'/'	is replaced by	'!'		(to allow UNIX filenames)
'(',')' are replaced by	'{', '}'
'\''	is replaced by	'\\'		(UNIX compatible quote)

Character classes have been added to allow "[<character list>]"
to be used.
Start of line '^' and end of line '$' have been added.

A description is available in the man page for the match program.
It may be found in man/man1/match.1