MGunit documentation

Unit testing for IDL

single page | use frames     summary     class     fields     routine details     file attributes

dist_tools/strings/

mg_stregex.pro


top mg_stregex

result = mg_stregex(str, re, boolean=boolean, extract=extract, length=length, subexpr=subexpr, fold_case=fold_case [, /find_all] [, /url])

Wrapper for STREGEX which includes a FIND_ALL keyword to find all occurrences within a scalar string.

Return value

long/lonarr/string/strarr

Parameters

str
re

Keywords

boolean
extract
length
subexpr
fold_case
find_all in optional type=boolean

find all matches of the regular expression in the string instead of just the first

url in optional type=boolean

set to specify a regular expression which matches URLs; do not specify re parameter if URL is set

File attributes

Modification date: Tue Jan 25 13:24:53 2011
Lines: 56
Docformat: rst rst