diff options
author | pgen <p.gen.progs@gmail.com> | 2023-08-09 22:41:28 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2023-08-09 22:50:47 +0200 |
commit | a4c441deb3fb174a4e53e870d0e053045cf068c0 (patch) | |
tree | b1906d0861ff48d8306801b2d358661d01703a00 | |
parent | 8137354463cc4763f13ab3081535883b731e2726 (diff) |
Improve a comment
The description of the parse_selectors function is not sufficiently
precise.
-rw-r--r-- | smenu.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1739,9 +1739,12 @@ attr_elem_cmp(void const * a, void const * b) } /* ===================================================================== */ -/* Parse a column or row selector string whose syntax is defines as: */ -/* <letter><range1>,<range2>,... */ -/* <range> is n1-n2 | n1 where n1 starts with 1. */ +/* Parse a column or row selector string whose syntax is defined as: */ +/* [<letter>]<item1>|,<item>|,... */ +/* <item> is <range>| <delimited regex> */ +/* <item> is (<range>| <delimited regex>):<attribute> if letter is a|A. */ +/* <range> is n1-n2 | n1 | -n2 | n1- where n1 starts with 1. */ +/* <delimited regex> is <char><regex><char> (e.g. /<regex>/). */ /* */ /* <letter> is a|A|s|S|r|R|u|U where: */ /* i|I is for 'include'. */ @@ -1749,6 +1752,7 @@ attr_elem_cmp(void const * a, void const * b) /* l|L is for 'left' alignment. */ /* r|R is for 'right' alignment. */ /* c|C is for 'center' alignment. */ +/* a|A for defining attributes for rows or columns. */ /* */ /* str (in) string to parse. */ /* filter (out) is INCLUDE_FILTER or EXCLUDE_FILTER according */ |