Usted buscó: ef (Coreano - Húngaro)

Contribuciones humanas

De traductores profesionales, empresas, páginas web y repositorios de traducción de libre uso.

Añadir una traducción

Coreano

Húngaro

Información

Coreano

ef- 1 편지봉투 공급기

Húngaro

ef- 1 borítékadagoló

Última actualización: 2011-10-23
Frecuencia de uso: 1
Calidad:

Coreano

consider the problem of matching a string in parentheses, allowing for unlimited nested parentheses. without the use of recursion, the best that can be done is to use a pattern that matches up to some fixed depth of nesting. it is not possible to handle an arbitrary nesting depth. perl 5.6 has provided an experimental facility that allows regular expressions to recurse (amongst other things). the special item (?r) is provided for the specific case of recursion. this pcre pattern solves the parentheses problem (assume the pcre_extended option is set so that white space is ignored): \( ((? [^()]+) _bar_ (?r) )*\) first it matches an opening parenthesis. then it matches any number of substrings which can either be a sequence of non- parentheses, or a recursive match of the pattern itself (i.e. a correctly parenthesized substring). finally there is a closing parenthesis. this particular example pattern contains nested unlimited repeats, and so the use of a once-only subpattern for matching strings of non-parentheses is important when applying the pattern to strings that do not match. for example, when it is applied to (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa() it yields "no match" quickly. however, if a once-only subpattern is not used, the match runs for a very long time indeed because there are so many different ways the + and * repeats can carve up the subject, and all have to be tested before failure can be reported. the values set for any capturing subpatterns are those from the outermost level of the recursion at which the subpattern value is set. if the pattern above is matched against (ab(cd)ef) the value for the capturing parentheses is "ef", which is the last value taken on at the top level. if additional parentheses are added, giving \( (((? [^()]+) _bar_ (?r) )*)\) ^ ^ ^ ^ then the string they capture is "ab(cd)ef", the contents of the top level parentheses. if there are more than 15 capturing parentheses in a pattern, pcre has to obtain extra memory to store data during a recursion, which it does by using pcre_malloc, freeing it via pcre_free afterwards. if no memory can be obtained, it saves data for the first 15 capturing parentheses only, as there is no way to give an out-of-memory error from within a recursion.

Húngaro

néhány egyszerűbb minta esetén optimalizálás történik, mint például (a+)*b, ahol literális (önmagára illeszkedő) karakter követi anéhány egyszerűbb minta esetén optimalizálás történik, mint például (a+)*b, ahol literális (önmagára illeszkedő) karakter követi a vizsgált részt.

Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:

Advertencia: contiene formato HTML invisible

Obtenga una traducción de calidad con
10,215,410,936 contribuciones humanas

Usuarios que están solicitando ayuda en este momento:



Utilizamos cookies para mejorar nuestros servicios. Al continuar navegando está aceptando su uso. Más información. De acuerdo