AplikaceAplikace
Nastavení

Differences

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

Link to this comparison view

Next revision
Previous revision
en:pojmy:regularni_vyrazy [2016/05/03 11:33] – created Veronika Pojarováen:pojmy:regularni_vyrazy [2016/05/03 11:41] (current) Veronika Pojarová
Line 16: Line 16:
  
 Examples of how regular expressions may be used can be found in the following table: Examples of how regular expressions may be used can be found in the following table:
 +
 +^ Example^ regular expression ^
 +| all forms of the word //sing// ''sing.*'' |
 +| the word //god// with either a lowercase or uppercase first letter |  ''[gG]od'' |
 +| period as a punctuation mark |  ''\.'' |
 +| all prefixed derivations of the word //activate// |  ''.+activate'' |
 +| different lengths of the interjection  //haha// |  ''ha(ha)+'' |
 +| two spelling variants of related forms: //practise// and //practice// |  ''practise<nowiki>|</nowiki>practice'' or ''practi[sc]e'' |
 +| any number consisting of three or four digits |  ''[0-9]{3,4}'' |
 +
 ====== Keyboard shortcuts ====== ====== Keyboard shortcuts ======