User Tools

Site Tools


02_browsing:04_queries:03_regex

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
02_browsing:04_queries:03_regex [2020/05/04 14:07] simone02_browsing:04_queries:03_regex [2022/06/27 09:21] (current) – external edit 127.0.0.1
Line 101: Line 101:
 Many different characters can occur in between your letters and digits: commas, full stops, spaces etc. Most of these characters can be used for queries like letters or numbers: Many different characters can occur in between your letters and digits: commas, full stops, spaces etc. Most of these characters can be used for queries like letters or numbers:
    * space    * space
-   coma+   comma
    * dash (-)    * dash (-)
    * semicolon (;)    * semicolon (;)
Line 110: Line 110:
    * exclamation mark (!)    * exclamation mark (!)
  
-NB: most of these characters do have a special function as well when they appear in a specific position. As you will see below, { } is one of the possible way to search for repeating characters. Thus, the character <{> can be recognized as a character in its own right or as a syntactic function depending on its position. The same goes for most of these characters.+NB: most of these characters do have a special function as well when they appear in a specific position. As you will see below, { } is one of the possible ways to search for repeating characters. Thus, the character <{> can be recognized as a character in its own right or as a syntactic function depending on its position. The same goes for most of these characters.
  
 Other separators are reserved by the RegEx syntax. To use them by their ordinary value, you have to place a backslash in front of them. Thus, you type in ''/m\*n/'' to look for //m*n//. These characters are: Other separators are reserved by the RegEx syntax. To use them by their ordinary value, you have to place a backslash in front of them. Thus, you type in ''/m\*n/'' to look for //m*n//. These characters are:
Line 164: Line 164:
 Example: Example:
 ''/h+a+l+o+/'' ''/h+a+l+o+/''
-will find all variants of hallo+will find all variants of //hallo//
  
  
02_browsing/04_queries/03_regex.txt · Last modified: 2022/06/27 09:21 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki