mglib

Personal IDL library for M. Galloy

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

strings/

mg_stregex.pro


Routines

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: Wed May 14 15:07:14 2014
Lines: 24
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.