Main Content
digitsPattern
Description
creates a pattern that
matches text composed of one or more digit characters. pat
= digitsPatterndigitsPattern
accepts digit characters as defined by the
Unicode standard.
matches text composed of a quantity of digit characters greater than or equal to
pat
= digitsPattern(minCharacters
,maxCharacters
)minCharacters
and less than or equal to
maxCharacters
. inf
is a valid value for
maxCharacters
. digitsPattern
is
greedy and matches a quantity of digit characters as close to
maxCharacters
as possible.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2020b