Created
July 1, 2019 11:36
-
-
Save danielgarciabsb/8f3afa232363a1d7352716f4bd1c7b6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Eliminar trecho da pesquisa: (?!trecho) | |
Exemplo: public(?!syncronized) static(.*) getInstance() | |
Pesquisar por todos que não são /swf: /PGPC/(?!swf)\w+ | |
Detectar comentarios: | |
(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/|[ \t]*//.*) | |
(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/) | |
([ \t]*//.*) | |
Detectar espaço: \s+ | |
Detectar subgrupo de match: | |
integracao(.*)Delegate | |
integracao$1ServicoEJB (nesse caso $1 é o que detectar entre integracao e Delegate) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment