Skip to content

using %header.append.matchFromBody% multiple times in a template reinserts 1st arguments #346

@RealRaven2000

Description

@RealRaven2000

When using %header.append.matchFromBody% multiple times, it happens that the subsequent calls are overwritten by the parameters of the first occurrence.

Example:

  %header.append.matchFromBody(subject,"Here is the transcription:\s*(?=(.{100}))(.*)\s*Listen and reply",1)%
  .  .  .
  %header.append.matchFromBody(subject,"test","<tag testtag>")%

Workaround: use matchTextFromBody and the clipboard:

%matchTextFromBody("Here is the transcription:\s*(?=(.{100}))(.*)\s*Listen and reply",1,toclipboard)%
%header.append(subject,clipboard)%
%header.append(subject,"... <tag vox><assign [email protected]>")%

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions