Hi Eric! Unfortunately, today it's not possible :(
txt2tags processes the input file line by line, and the preproc filters are also applied line by line. Allowing preprocs to handle the entire file in multiline matches is a possibility, but it could break several current filters that include wildchars like .* or .+ relying on the single line behavior. Maybe we could a have a separate multiline filter, or a flag to the current filters to inform that they're multiline. On Sun, Jun 20, 2010 at 21:11, Forgeot Eric <eforg...@yahoo.fr> wrote: > > I'd like to remove a line break by using a preproc rule. It seems I can add > lines, but can't remove them. > > I want to have this in my source: > > -**- > some text > > and convert it automatically to > > -**-some text > > before using some postproc rules. > > So I tried : > %!preproc: "-\*\*-$" "-**-" > %!preproc: "-\*\*-$\n" "-**-" > %!preproc: "-\*\*-$\r" "-**-" > > but none of them is working. > > Is it possible? > > > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > txt2tags-list mailing list > https://lists.sourceforge.net/lists/listinfo/txt2tags-list > -- Aurélio | www.aurelio.net | @oreio ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ txt2tags-list mailing list https://lists.sourceforge.net/lists/listinfo/txt2tags-list