Ticket UUID: | 882238 | |||
Title: | 'in' operator for [expr] (TIP #133) | |||
Type: | RFE | Version: | None | |
Submitter: | rmax | Created on: | 2004-01-22 16:55:37 | |
Subsystem: | 16. Commands A-H | Assigned To: | rmax | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2005-05-31 08:55:40 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2005-05-31 01:55:40 | |||
Description: |
This patch is my first attempt on a partial implementation of TIP #133. It adds the implementation, tests, and documentation for an 'in' operator to [expr]. As this is my first look into [expr] and bytecode stuff, I am pretty sure, there are more efficient and/or elegant ways to implement this. So please feel free to tell me how it can be done better. Even though 'not in' is already possible as !($string in $list), I intend to add a '!in' operator to this patch later on as the code matures. | |||
User Comments: |
hobbs added on 2005-05-31 08:55:40:
Logged In: YES user_id=72656 ni and in are in 8.5 now. rmax added on 2004-01-22 23:55:38: File Added - 74394: expr-in.patch |
Attachments:
- expr-in.patch [download] added by rmax on 2004-01-22 23:55:38. [details]