Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1040

Relax the need to escape every { in <hint> <message>

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Major
    • None
    • 2.5.0.Final
    • None

    Description

      In the Java <hint> <message>, every `{` beeds to be escaped as `\ {`. That doesn't seem like a good UX to me. The hints often contain a code examples.

      I think that we should revisit how the Rewrite construct

      {...}

      is matched.

      How about not matching any { not followed by * or alnum? Or followed by a whitespace?

      We could do it simply by escaping such cases automatically before sending the string to evaluation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: