regexp – Russian Translation – Keybot Dictionary
TTN Translation Network
TTN
TTN
Login
Deutsch
Français
Source Languages
Target Languages
Select
Select
Keybot
613
Results
55
Domains
r-d.com.ua
Show text
Show cached source
Open source URL
regExp
— regular expression the field value should match. It is used together with regExpFlags.
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
info.template-help.com
as primary domain
regExp — стандартное выражение, которому должн о совпадать значение поля. Он используется вместе с regExpFlags.
20 Hits
www.viva64.com
Show text
Show cached source
Open source URL
Matches any (singular) symbol // ^ Matches the beginning of the input string // $ Matches the end of the input string // * Match the appearance of the preceding character zero or // several times int matchhere(char *
regexp
, char *text); int matchstar(int c, char *
regexp
, char *text); // match: search for regular expression anywhere in text int match(char *
regexp
, char *text) { if (
regexp
[0] == '^') return matchhere(
regexp
+1, text); do { /* must look even if string is empty */ if (matchhere(
regexp
, text)) return 1; } while (*text++ != '\0'); return 0; } // matchhere: search for
regexp
at beginning of text int matchhere(char *
regexp
, char *text) { if (
regexp
[0] == '\0') return 1; if (
regexp
[1] == '*') return matchstar(
regexp
[0],
regexp
+2, text); if (
regexp
[0] == ' &&
regexp
[1] == '\0') return *text == '\0'; if (*text!
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
viva64.com
as primary domain
// Формат регулярного выражения. // c Соответсвует любой букве "с" // .(точка) Соответсвует любому одному символу // ^ Соответсвует началу входящей строки // $ Соответствует концу входящей строки // * Соответствует появлению предыдущего символа от нуля до // нескольких раз int matchhere(char *regexp, char *text); int matchstar(int c, char *regexp, char *text); // match: поиск соответствий регулярному выражению по всему тексту int match(char *regexp, char *text) { if (regexp[0] == '^') return matchhere(regexp+1, text); do { /* нужно посмотреть даже пустую строку */ if (matchhere(regexp, text)) return 1; } while (*text++ != '\0'); return 0; } // matchhere: поиск соответствий регулярному выражению в начале текста int matchhere(char *regexp, char *text) { if (regexp[0] == '\0') return 1; if (regexp[1] == '*') return matchstar(regexp[0], regexp+2, text); if (regexp[0] == '$' && regexp[1] == '\0') return *text == '\0'; if (*text!='\0' && (regexp[0]=='.' || regexp[0]==*text)) return matchhere(regexp+1, text+1); return 0; } // matchstar: поиск регулярного выражения вида с* с начала текста int matchstar(int c, char *regexp, char *text) { do { /* символ * соответствует нулю или большему количеству появлений */ if (matchhere(regexp, text)) return 1; } while (*text != '\0' && (*text++ == c || c == '.')); return 0; }
nginx.org
Show text
Show cached source
Open source URL
RegExp
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
nginx.org
as primary domain
apply
www.chataigniers.com
Show text
Show cached source
Open source URL
the
regexp
which will be applied to command output. If set
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
arcanis.me
as primary domain
регулярное выражение, которое будет применено к выдаче команды. Если не пустое, параметр
5 Hits
www.calculate-linux.org
Show text
Show cached source
Open source URL
-e, --
regexp
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
calculate-linux.org
as primary domain
-J, --installed
7 Hits
www.gentoo.org
Show text
Show cached source
Open source URL
If you want to jump to the next occurence of a particular text pattern, type /<
regexp
> and hit enter. Replace <
regexp
> with the regular expression you're looking for. If you don't know how to use regular expressions, don't fret -- typing /foo will move to the next occurence of foo. The only thing you'll need to watch out for is when you want to refer to the literal ^, ., $ or \ characters. Prefix these characters with a backslash (\), and you'll be set. For example, /foo\.gif will search for the next occurence of "foo.gif".
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
gentoo.org
as primary domain
Мы рассмотрели несколько команд, и теперь самое время вписать их в нашу шпаргалку. Для шпаргалки вам потребуется листок бумаги размером А4 или развернутый тетрадный лист. (На этoт лист надо будет втиснуть кучу информации!) Здесь приведена картинка моей шпаргалки после записи всех только что рассмотренных команд. Постарайтесь придерживаться моего размещения, если возможно, чтобы все уместилось на одной странице.