Fails to parse DSL variable definition with single dot regex

Solution Verified - Updated -

Issue

Drools fails to parse DSL variable definition with single dot regex, where I want one any character.

[then]Log {message:.}=list.add(\"{message}\");

Error message:

[1,19]: DSL parser error

Environment

  • Red Hat JBoss BRMS
    • 5.3.x
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.