Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Text/Autoformat.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1009,14 +1009,14 @@ format lines such as:

specify:

autoformat($text, { quoter =E<gt> qr{//} })
autoformat($text, { quoter => qr{//} })

Instead of completely replacing the existing set of quoters, you can
I<extend> them by specifying a pattern that includes the metasequence
C<< <QUOTER> >>, which is then replaced by the module's standard pattern
for quoters. So, for example, to add C<//> to the set of existing quoters:

autoformat($text, { quoter =E<gt> qr{//|<QUOTER>} })
autoformat($text, { quoter => qr{//|<QUOTER>} })


Block quotations present a different challenge. A typical formatter
Expand Down