Template:cheatsheet-key: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(comment entry)
('#' for comment)
Line 1: Line 1:
===Key===
===Key===
Uses Perl's [http://www.perl.com/doc/manual/html/pod/perlre.html standard quantifiers]:
Symbols based on Perl's [http://www.perl.com/doc/manual/html/pod/perlre.html standard quantifiers]:
{| border="1" cellpadding="2"
{| border="1" cellpadding="2"
| '''bold''' {1} || Must be present exactly once
| '''bold''' {1} || Must be present exactly once
Line 14: Line 14:
| (parentheses) || data format  
| (parentheses) || data format  
|-  
|-  
| // || comment  
| # || comment  
|}
|}

Revision as of 19:16, 5 December 2006

Key

Symbols 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