This is a search engine friendly CGI program that outputs help documents.
The LufDoc (Live User Fed Documentation) comment system will be implemented soon.

PSP Help Doc Indexer System

(Version 1.4.1)


Declaration:

function regexp_match(const pattern, str: string; var matches: RegexpEntry): boolean;

Arguments:

pattern Regular expression pattern
str Input string
matches Handle to store the entry

Description:

This function performs single pattern match on string.

Returns:

TRUE if input string matches the pattern, FALSE if not.

Usage:

if regexp_match('/foo/i', s, re) then
	begin
		// Working with entry
		for i := 0 to regexp_entry_count(re) - 1 do writeln(regexp_entry_item(re, i));
	end;
regexp_free(re);

See also:

regexp_match_all.

PSP Help documents