Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

Regular expressions are text strings that you use to describe search patterns. You can use the following special characters to define regular expressions for search parameters.
Special character PurposeExample Meaning
( ) Defines the scope and precedence of the operator

Matches either the regular expression before or after the vertical bar
gr(a

e)y Matches "gray" or "grey". a

c Matches "a" or "c".

. Matches any single character .at Matches any text string ending with "at", such as "hat", "cat", and "bat".

  • Matches the previous regular expression zero or more times

    + Matches the previous regular expression one or more times
    ? Matches the previous regular expression zero or one time
    ^ Matches the beginning of a text string
    a*bc Matches zero or multiple occurrences of "a" followed by "bc", such as "bc", "abc", "aabc", "aaabc", and so on.
    a+bc Matches one or more occurrences of "a", followed by "bc", such as "abc", "aabc", "aaabc", and so on.
    a?bc Matches zero or one occurrence of "a", followed by "bc", such as "bc" or "abc".
    ^c Matches any string beginning with "c", such as "cat".

    $ Matches the end of a text string com$ Matches any string ending with "com", such as "Infoblox.com".
    [ ] Matches any character specified in the brackets
    [03]
    [abcd] [15a-d]
    Matches "0" or "3".
    Matches "a", "b", "c", or "d".
    Matches "1", "5", "a", "b", "c", or "d".





    Unable to render embedded object: File (worddav5c1c76889c1451ba4782082a995a33ac.png) not found.
    NIOS 8.1NIOS Administrator Guide (Rev. A)1869
    Regular Expressions

    Special character PurposeExample Meaning
    [ n-n] Matches single characters contained in the specified range, including the start and end points
    [0-3]
    [a-f]
    Matches 0, 1, 2, and 3. Matches a, b, c, d, e, and f.
    Unknown macro: {m,n\}
    Matches the preceding expression at least m but not more than n times.
    a
    Unknown macro: {3,5\}
    Matches "aaa", "aaaa", and
    "aaaaa".




    Note: You can change a special character—such as the period ( . ), asterisk ( * ), plus sign ( + ), or question mark ( ? )— into a literal character by prefixing it with a backslash ( \ ). For example, to specify a literal period, asterisk, plus sign, or question mark, use the characters within the following parentheses: ( \. ) , ( * ), ( + ), ( ? ), ( ^ ), ( \$ ).













































    Unable to render embedded object: File (worddav82aac1426f41e4bf41b080762501fdd1.png) not found.
    1870NIOS Administrator Guide (Rev. A)NIOS 8.1
















  • No labels