On Tue, Jun 05, 2018 at 10:53:02AM +1000, Lex Trotman wrote:
> > "23. Tables
> >
> > The AsciiDoc table syntax looks and behaves like other delimited block
> > types and supports standard block configuration entries [...]"
>
> Yes, its probably a bit subtle, a "behaves like" b does not mean that
> a is a b, nor that it "behaves identically", in particular the
> delimiter is different by not being all the same character, but the
> minimum size of the whole delimiter sequence is still four "like" :)
> other delimiters.
Ok thank you all for the clarification needed & sorry for the annoyance
I guess that this regular expression used by po4a for identifying both
blocks and table is wrong:
} elsif ($line =~
m/^(\/{4,}|\+{4,}|-{4,}|\.{4,}|\*{4,}|_{4,}|={4,}|~{4,}|\|={4,})$/) {
So I guess that if I want to keep it all together (blocks and tables) I
need at least to modify last subexpression to make it catch the three
"|===" tables syntax too, like this ...
} elsif ($line =~
m/^(\/{4,}|\+{4,}|-{4,}|\.{4,}|\*{4,}|_{4,}|={4,}|~{4,}|\|={3,})$/) {
^
right?
TIA
--
Marco Ciampa
I know a joke about UDP, but you might not get it.
------------------------
GNU/Linux User #78271
FSFE fellow #364
------------------------
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.