https://github.com/tiago154/estudo-regex
Projeto de estudo sobre Expressões Regulares
https://github.com/tiago154/estudo-regex
regex regex-match regexp
Last synced: 3 months ago
JSON representation
Projeto de estudo sobre Expressões Regulares
- Host: GitHub
- URL: https://github.com/tiago154/estudo-regex
- Owner: tiago154
- Created: 2021-12-16T01:43:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-16T01:44:54.000Z (over 3 years ago)
- Last Synced: 2025-02-05T13:53:39.301Z (5 months ago)
- Topics: regex, regex-match, regexp
- Language: JavaScript
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Estudo Regex
### Metacaracteres - Representantes
| Metacaractere | Nome | Significado |
| :-----------: | :-----| :----------- |
| . | Ponto | Um caractere qualquer |
| [] | Conjunto | Conjunto de caracteres permitidos |
| [^] | Ponto | Conjunto de caracteres proibidos |### Metacaracteres - Quantificadores
| Metacaractere | Nome | Significado |
| :-----------: | :-----| :----------- |
| ? | Opcional | Zero ou um |
| * | Asterisco | Zero ou mais |
| {n, m} | Chaves | De n até m |
| + | Mais | Mm ou mais |### Metacaracteres - Ãncoras
| Metacaractere | Nome | Significado |
| :-----------: | :-----| :----------- |
| ^ | Circunflexo | Início de linha |
| $ | Cifrão | Fim de linha |
| \b | Borda | Início ou fim de palavra |### Metacaracteres - Outros
| Metacaractere | Nome | Significado |
| :-----------: | :-----| :----------- |
| \ | Escape | Uso de metacaracteres como literal |
| | | Ou | Operação de Ou |
| () | Grupo | Define um grupo |
| \1...\9 | Retrovisor | Resgata grupos já definidos |