Template:cheatsheet-key: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(rfc2119 template)
m (decap)
Line 4: Line 4:
| '''bold''' {1} || {{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  
|-  
|-  
| + || Match 1 or more times  
| + || match 1 or more times  
|-  
|-  
| ? || Match 1 or 0 times  
| ? || match 1 or 0 times  
|-  
|-  
| [square brackets] || list of common values  
| [square brackets] || list of common values  
Line 16: Line 16:
| # || comment  
| # || comment  
|-  
|-  
| ! || Awaiting documentation  
| ! || awaiting documentation  
|}
|}

Revision as of 11:39, 28 August 2007

Key

Based on 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
# comment
! awaiting documentation