• Login
Community
  • Login

My own synthax, little help

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
syntax highlightsyntax
3 Posts 2 Posters 368 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    WildCactuar
    last edited by WildCactuar Sep 5, 2019, 1:45 PM Sep 5, 2019, 1:44 PM

    Hello, I am trying to define my own language and honestly I have no idea how to do it, but its very simple so i was wondering if someone can tell me.

    6 digit number = red
    “NR” (string)= red
    13 digit number = blue
    phone number XXX-XXX-XXXX = green
    any symbol = purple
    date XX/XX/XX = orange

    A 1 Reply Last reply Sep 5, 2019, 1:48 PM Reply Quote 0
    • A
      Alan Kilborn @WildCactuar
      last edited by Sep 5, 2019, 1:48 PM

      @raul-ocasio

      Seems like you want more of a “lexer” than a definition of a new language via UDL.

      1 Reply Last reply Reply Quote 0
      • W
        WildCactuar
        last edited by Sep 5, 2019, 2:08 PM

        Thanks, I did not knew it has that name, i tagged “lexer”

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors