Template:cheatsheet-key: Difference between revisions
Jump to navigation
Jump to search
m (→Key) |
(revert) |
||
Line 1: | Line 1: | ||
===Key=== | ===Key=== | ||
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} || | | '''bold''' {1} || Must be present exactly once | ||
|- | |- | ||
| ''italic''<nowiki>*</nowiki> || | | ''italic''<nowiki>*</nowiki> || Match 0 or more times | ||
|- | |- | ||
| + || Match 1 or more times | | + || Match 1 or more times | ||
Line 10: | Line 10: | ||
| ? || Match 1 or 0 times | | ? || Match 1 or 0 times | ||
|- | |- | ||
| [ | | [square brackets] || list of common values | ||
|- | |- | ||
| ( | | (parentheses) || data format | ||
|- | |- | ||
| # || | | # || comment | ||
|} | |} |
Revision as of 06:48, 14 December 2006
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 |