Documentazione di Gambas
Application Repository
Come...
Componenti
gb
gb.args
gb.data
gb.db - Database access component
gb.dbus
gb.debug
gb.desktop
gb.eval
gb.eval.highlight
gb.form.dialog
gb.image
gb.inotify
gb.net
gb.pcre
Regexp
gb.qt4
gb.qt5
gb.sdl.sound - Sound library based on SDL
gb.settings
gb.v4l
Da fare
Documentazione Sviluppatori
Documenti
Indice del linguaggio
LEGGIMI
Lessico
Licenza dello Wiki
Messaggi di errore
Panoramica del linguaggio
Registrazione
Ultime modifiche
Wiki Manual
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
New Regexp (gb.pcre)
Dim
hRegexp
As
Regexp
hRegexp
=
New
Regexp
(
[
Subject
As
String
,
Pattern
As
String
,
CompileOptions
As
Enum RegexpCompileOption
,
ExecOptions
As
Enum RegexpExecOption
]
)
[
As
"
EventName
"
]
Creates a new
Regexp
object, and optionally compiles a regular expression and matches it against some subject text.
Examples
DIM
re
as
Regexp
re
=
NEW
Regexp
(
"The quick brown fox slyly jumped over the lazy dog"
,
"brown (\\S+)"
)