Skip to content

Commit

Permalink
allow multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
b1conrad committed Apr 12, 2023
1 parent 8ef8385 commit 5a57642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions languages/krl/org.picostack.observer.krl
Expand Up @@ -106,11 +106,11 @@ To <input name="email">
select when byname_notification status
application re#(.+)#
subject re#(.+)#
description re#(.*)#
setting(app,subj,descr)
setting(app,subj)
where ent:email && not ent:weekly_digest
pre {
subject = <<ByName: #{app}: #{subj}>>
descr = event:attrs{"description"}
}
email:send_text(ent:email,subject,descr) setting(response)
fired {
Expand Down

1 comment on commit 5a57642

@b1conrad
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The regular expression restriction and matching in the select when clause truncates any additional lines. The email module manages a missing body so we don't need to here.

Please sign in to comment.