Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

??

You are here: irt.org | FOLDOC | ??

<programming> A Perl quote-like operator used to delimit a regular expression (RE) like "?FOO?" that matches FOO at most once. The normal "/FOO/" form of regular expression will match FOO any number of times. The "??" operator will match again after a call to the "reset" operator.

The operator is usually referred to as "??" but, taken literally, an empty RE like this (or "//") actually means to re-use the last successfully matched regular expression or, if there was none, empty string (which will always match).

Unix manual page: perlop(1).

(2009-05-28)

Nearby terms: = « > « ? « ?? » @ » @-party » @Begin

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb