SQL regular expressions are a curious cross between LIKE notation and common regular expression notation.
Andere resultaten
Advanced users can use regular-expression notations such as character classes, for example [0-9] to match any digit.
上級者は文字クラスに、例えば任意の数に一致する[0-9]などの正規表現を使用することができます。
Regular expressions are a notation for specifying patterns of text, as opposed to exact strings of characters.
正規表現とは、文字列を正確に指定するのではなく、テキストのパターンを指定するための表記のことです。
Use literal notation when the regular expression will remain constant.
正規表現が不変である場合に、リテラル記法を使用してください。
the sequence of characters matching the regular expression is a character in octal notation
正規表現にマッチする文字シーケンスは、8 進数表記の 1 文字です。
For example, if you use literal notation to construct a regular expression used in a loop, the regular expression won't be recompiled on each iteration.
例えばループ内で使用する正規表現を生成するためにリテラル記法を使用すると、反復処理のたびに正規表現を再コンパイルすることはありません。
Therefore, POSIX extended the bracket notation greatly, both for wild card patterns and for regular expressions.
)したがって POSIX では、ワイルドカードパターンと正規表現の双方において、ブラケット表記を大幅に拡張している。
The IP address notation corresponds to (regular expression expression of Java).
IPアドレス表記は(Javaの)正規表現式に対応しています。
The solution is to use Python's raw string notation for regular expression patterns; backslashes are not handled in any special way in a string literal prefixed with 'r'.
`r` を前置した文字列リテラル内ではバックスラッシュが特別扱いされません。
The literal notation provides compilation of the regular expression when the expression is literal notation when the regular expression will remain constant. For example, if you use literal notation to construct a regular expression used in a loop, the regular expression won't be recompiled on each iteration.
リテラル表記を使用すると、正規表現が評価されるときにコンパイルされます。正規表現が変化しない場合はリテラル表記を使用してください。たとえば、ループ内で使用する正規表現をリテラル表記を使用して構築すれば、ループのたびに毎回正規表現が再コンパイルされずに済みます。
This collides with Python'susage of the same character for the same purpose in string literals;for example, to match a literal backslash, one might have to write' as the pattern string, because the regular expression must be"", and each backslash must be expressed as"" inside a regular Python string literal.The solution is to use Python's raw string notation for regular expression patterns; backslashes are not handled in any special way ina string literal prefixed with "r".
こうしたバックスラッシュの使い方は、Python の文字列リテラルにおける同じバックスラッシュ文字と衝突を起こします。 例えば、バックスラッシュ自体にマッチさせるには、パターン文字列として`` と書かなければなりません、というのも、正規表現は"" でなければならず、さらに正規な Python 文字列リテラルでは各々のバックスラッシュを"" と表現せねばならないからです。 正規表現パターンに Python の raw string 記法を使えばこの問題を解決できます。 "r"を前置した文字列リテラル内ではバックスラッシュを特別扱いしません。 従って、"n" が改行一文字の入った文字列になるのに対して、r"n" は"" と"n"という二つの文字の入った文字列になります。
The regular expression, thats used to parse template variable names.
テンプレート変数名のパースに使用する正規表現です。
It uses the same regular expression as the previous example.
前の例と同じ正規表現を使っています。