Je was op zoek naar: firstnonspace (Engels - Russisch)

Engels

Vertalen

firstnonspace

Vertalen

Russisch

Vertalen
Vertalen

Vertaal onmiddellijk teksten, documenten en gesprekken met Lara

Nu vertalen

Menselijke bijdragen

Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.

Voeg een vertaling toe

Engels

Russisch

Info

Engels

firstnonspace: match only, if the string is the first non-whitespace in the line. default: false.

Russisch

firstnonspace: Соответствие, только если строка начинается не с пробела. По умолчанию: false.

Laatste Update: 2011-10-23
Gebruiksfrequentie: 1
Kwaliteit:

Engels

regular expressions are easy to use but often there is another much faster way to achieve the same result. consider you only want to match the character '# 'if it is the first character in the line. a regular expression based solution would look like this: lt; regexpr attribute=quot; macroquot; context=quot; macroquot; string=quot; ^\\s*#quot; / gt; you can achieve the same much faster in using: lt; detectchar attribute=quot; macroquot; context=quot; macroquot; char=quot; #quot; firstnonspace=quot; truequot; / gt; if you want to match the regular expression '^#' you can still use detectchar with the attribute column=quot; 0quot;. the attribute column counts character based, so a tabulator still is only one character.

Russisch

Регулярные выражения несложны в использовании, но очень часто можно найти более быстрый способ. Допустим, вы ищете символ '#', это первый символ строки. Решение с регулярным выражением будет выглядеть примерно так: lt; regexpr attribute=quot; macroquot; context=quot; macroquot; string=quot; ^\\ s * # quot; / gt;. Этой же цели можно достичь значительно быстрее: lt; detectchar attribute=quot; macroquot; context=quot; macroquot; char=quot; # quot; firstnonspace=quot; truequot; / gt;. Для поиска регулярного выражения '^ #' можно применить detectchar с атрибутом column=quot; 0quot;. Отсчет для атрибута column идет посимвольно, поэтому знак табуляции для него - всего один символ.

Laatste Update: 2011-10-23
Gebruiksfrequentie: 1
Kwaliteit:

Krijg een betere vertaling met
10,388,471,977 menselijke bijdragen

Gebruikers vragen nu voor assistentie



Wij gebruiken cookies om u de best mogelijke ervaring op onze website te bieden. Door de website verder te gebruiken, geeft u toestemming voor het gebruik van cookies. Klik hier voor meer informatie. OK