Template:cheatsheet-key: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(table)
(Perl, not POSIX)
Line 1: Line 1:
===Key===
===Key===
Uses standard [http://en.wikipedia.org/wiki/Regular_expression#Basic_concepts quanitification] operators.
Uses Perl's [http://www.perl.com/doc/manual/html/pod/perlre.html standard quantifiers]:
{|  
{|  
| '''bold''' || Must be present exactly once
| '''bold''' {1} || Must be present exactly once
|-  
|-  
| ''italic''<nowiki>*</nowiki> || Match 0 or more times  
| ''italic''<nowiki>*</nowiki> || Match 0 or more times  

Revision as of 19:04, 5 December 2006

Key

Uses Perl's standard quantifiers:

bold {1} Must be present exactly once
italic* Match 0 or more times
+ Match 1 or more times
? Match 1 or 0 times
[square brackets] list of common values
(parentheses) data format