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

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

      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.

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

              Created:
              Updated: