Traducere "regular expression patterns" în japoneză
Nu am putut găsi această intrare. Se afișează rezultate aproximative. Verificați ortografia sau propuneți adăugarea acestui termen în dicționar.
正規表現パターン
Thus, globbing patterns and regular expression patterns are sufficient for the vast majority of us.
したがって、大半のユーザーにとっては、グロビングパターンと正規表現パターンだけで十分なはずです。
So, if you needed to look for an actual asterisk character (which is special for both globbing and regular expression patterns), the exact pattern would be one way to do that.
The classes used in this tutorial implement features of the GNU grep utility, which can be used for searching text or regular expression patterns inside text files.
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".
The second edition of the book no longer covers Python at all, but the first edition covered writing good regular expression patterns in great detail. Subsections
Regular expression patterns are compiled into a series of bytecodes which are then executed by a matching engine written in C. For advanced use, it may be necessary to pay careful attention to how the engine will execute a given RE, and write the RE in a certain way in order to produce bytecode that runs faster.
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.