Adobe: mudanças entre as edições

De Wiki Doth
Ir para navegação Ir para pesquisar
 
Linha 4: Linha 4:


== Regular Expressions ==
== Regular Expressions ==
<code>
utf8_decode\((.+)\) - qq coisa começando com ut8_decode( e termina onde encontrar )
troca por
utf8_decode($1,'aaaa') - $1 oq encontrar no meio
</code>


\ - Escape character; allows you to search for text containing one of the below special characters by preceding it with the backslash
\ - Escape character; allows you to search for text containing one of the below special characters by preceding it with the backslash

Edição atual tal como às 11h21min de 19 de janeiro de 2024

Adobe

Dreamweaver

Regular Expressions

utf8_decode\((.+)\) - qq coisa começando com ut8_decode( e termina onde encontrar )

troca por

utf8_decode($1,'aaaa') - $1 oq encontrar no meio

\ - Escape character; allows you to search for text containing one of the below special characters by preceding it with the backslash

^ - Beginning of text or a line

$ - End of text or a line

  • - The preceding character zero or more times

+ - The preceding character one or more times

? - The preceding character zero or one time

. - Any character except newline

\b - Word boundary (such as a space or carriage return)

\B - Non-word boundary

\d - Any digit 0 through 9 (same as [0-9])

\D - Any non-digit character

\f - Form feed

\n - Line feed

\r - Carriage return

\s - Any single whitespace character (same as [ \f\n\r\t\v])

\S - Any single non-whitespace character

\t - Tab

\w - Any letter, number, or the underscore (same as [a-zA-Z0-9_])

\W - Any character other than a letter, number, or underscore

[abcde] - A character set that matches any one of the enclosed characters

[^abcde] - A complemented or negated character set; one that does not match any of the enclosed characters

[a-e] - A character set that matches any one in the range of enclosed characters

[\b] - The literal backspace character (different from \b)

{n} - Exactly n occurrences of the previous character

{n,} - At least n occurrences of the previous character

{n,m} - Between n and m occurrences of the previous character

() - A grouping, which is also stored for later use

x|y - Either x or y

Photoshop