#519 Regex 0 or 1

Completed
closed
Scintilla (358)
2
2011-11-02
2008-07-29
No

This may be similar to the existing request which has been out for over 3 years now. Actually looking at it there are 6 Regex requests dating back to April of 2003.

https://sourceforge.net/tracker/index.php?func=detail&aid=1156212&group_id=2439&atid=352439

Anywho, I need Notepad++ to have capability for 0 or 1 of an item instead of just *(0 or more) and +(1 or more). Normally this is implemented with a ?.

Sets would also help, which is the topic of a few of the other outstanding Regex requests.

Discussion

  • Neil Hodgson

    Neil Hodgson - 2008-08-03

    Logged In: YES
    user_id=12579
    Originator: NO

    Applications that want to support more forms of regular expressions should use a library that includes such forms.

     
  • Neil Hodgson

    Neil Hodgson - 2008-08-03
    • assigned_to: nobody --> nyamatongwe
    • milestone: --> 632977
    • labels: --> Scintilla
    • priority: 5 --> 3
     
  • Nobody/Anonymous

    Logged In: NO

    There is a way to change the regular expression's engine? Integrate a powerfull regex engine with scintilla?

     
  • Nobody/Anonymous

    Logged In: NO

    The regex engine is a module that i can change following requirements?

     
  • Neil Hodgson

    Neil Hodgson - 2008-08-03

    Logged In: YES
    user_id=12579
    Originator: NO

    I haven't read the source code to Notepad++ so I don't know how hard it is to link in a different regular expression library.

     
  • remoo

    remoo - 2010-02-25

    Please add a better Regex libary in Scintilla

     
  • Neil Hodgson

    Neil Hodgson - 2010-02-25

    Good regex libraries are large and will require more maintenance. It is very unlikely I will add a better regex library to Scintilla.

     
  • Neil Hodgson

    Neil Hodgson - 2010-02-25
    • priority: 3 --> 2
     
  • Nobody/Anonymous

    ok. no change.

     
  • Quantum Rabbit

    Quantum Rabbit - 2010-02-26

    You shouldn't need to add a whole new library to add a single feature or two. Is it really out of the question to support for such a basic feature as 0 or 1? I've never heard of a regex implementation that didn't support that.

     
  • Neil Hodgson

    Neil Hodgson - 2010-02-26

    I don't understand the regex code well enough to implement '?'. If you think it is simple then write a patch.

     
  • Neil Hodgson

    Neil Hodgson - 2011-11-02
    • milestone: 632977 --> Completed
    • status: open --> closed
     

Log in to post a comment.