Expresiones regulares
Descripción
There are many software applications and programming languages that support regular expressions. If you are a programmer, you can save yourself lots of time and effort. You can often accomplish with a single regular expression in one or a few lines of code what would otherwise take dozens or hundreds. If you are not a programmer, you use regular expressions in many situations just as well. They will make finding information a lot easier. You can use them in powerful search and replace operations to quickly make changes across large numbers of files. A simple example is «gr[ae]y» which will find both spellings of the word grey in one operation, instead of two. There are many text editors and search and replace tools with decent regex support. This tutorial is quite unique because it not only explains the regex syntax, but also describes in detail how the regex engine actually goes about its work. You will learn quite a lot, even if you have already been using regular expressions for some time. This will help you to understand quickly why a particular regex does not do what you initially expected, saving you lots of guesswork and head scratching when writing more complex regexes.
Detalles
Autor(es): |
Jan Goyvaerts |
Año: | 2007 |
Lenguaje: | Inglés |
Tamaño: | 851.72 kB |
Categoría: | Computing General |
Etiquetas: | regular expressions |
Usted puede contribuir con Libros UCLV, es importante para nosotros su aporte..
Contribuir