Réalisées par des traducteurs professionnels, des entreprises, des pages web ou traductions disponibles gratuitement.
se devi confrontare solo due caratteri, usa detect2chars invece di stringdetect. lo stesso si applica a detectchar.
if you only match two characters use detect2chars instead of stringdetect. the same applies to detectchar.
Dernière mise à jour : 2011-10-23
Fréquence d'utilisation : 3
Qualité :
lt;detectchar char=quot;(carattere)quot; (attributi comuni) (dynamic) /gt;
lt;detectchar char=quot;(character)quot; (common attributes) (dynamic) /gt;
Dernière mise à jour : 2011-10-23
Fréquence d'utilisation : 2
Qualité :
le espressioni regolari sono comode ma spesso c'è un modo molto più veloce per ottenere lo stesso risultato. considera di volere una corrispondenza co il carattere '#'se è il primo carattere di una riga. una soluzione basata sulle espressioni regolari avrà questo aspetto: lt;regexpr attribute=quot;macroquot; context=quot;macroquot; string=quot;^\\s*#quot; /gt; puoi ottenere lo stesso effetto molto più rapidamente usando: lt;detectchar attribute=quot;macroquot; context=quot;macroquot; char=quot;#quot; firstnonspace=quot;truequot; /gt; se vuoi una corrispondenza con l'espressione regolare'^#'puoi comunque usare detectchar con l'attributo column=quot;0quot;. l'attributo column conta le colonne in base ai caratteri, quindi un tabulatore è ancora un solo carattere.
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.
Dernière mise à jour : 2008-03-04
Fréquence d'utilisation : 2
Qualité :