<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/regexkit/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/regexkit/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 07 Jul 2011 12:42:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/regexkit/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Moving to ARC</title><link>https://sourceforge.net/p/regexkit/feature-requests/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I'm wondering if you will move the implementation of regexkitlite to an ARC compatible version ? &lt;br /&gt;
Here's how I do to use RegexKitLite in an ARC capable application in Xcode (Click Project &amp;gt; Target &amp;gt; Build Phases &amp;gt; Compile sources &amp;gt; select RegexKitLite.m and set compiler flag to -fno-objc-arc) this will tell the compiler that this file uses manual reference counting and will not produce error compiling the project with ARC flag.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">florian petit</dc:creator><pubDate>Thu, 07 Jul 2011 12:42:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd0a953f6029386f1a32e69bd548014b0e054b8b7</guid></item><item><title>RKL: Need API to that returns ranges, instead of strings</title><link>https://sourceforge.net/p/regexkit/feature-requests/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It would be great to have an API similar to captureComponentsMatchedByRegex:range:, but which returns the results as NSRanges rather than strings.&lt;/p&gt;
&lt;p&gt;I find myself in the situation of having to call rangeOfRegex:inRange:, in order to determine where the match occurred, followed by captureComponentsMatchedByRegex:range: to determine the captures from that match.&lt;/p&gt;
&lt;p&gt;I am iteratively traversing a string looking for matches, processing the captures, and then looking for the next match. I have to track the position of the match because I also have to process the text before and after the match.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Berry</dc:creator><pubDate>Mon, 28 Dec 2009 17:22:43 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3b02bef63593b0d93a016b6b013cfd6177c62765</guid></item><item><title>opt to return ranges instead of strings</title><link>https://sourceforge.net/p/regexkit/feature-requests/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Would like to see an option to return the ranges of the strings, rather than the actual strings. Perhaps returning an NSArray of NSValues containing each range.&lt;/p&gt;
&lt;p&gt;For example, if you wanted to implement a Find Dialog, you'd want to ranges so you could highlight the found text.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 09 Oct 2009 19:43:51 -0000</pubDate><guid isPermaLink="false">https://sourceforge.nete8959004090f1ccc51eff12a2eeb1dde3d7e5e68</guid></item><item><title>anyMatchingRegexInArray: for RegexKit lite</title><link>https://sourceforge.net/p/regexkit/feature-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;something like anyMatchingRegexInArray:(NSArray *)regexArray would be a really great addition for regexkit lite. &lt;/p&gt;
&lt;p&gt;doing something like &lt;/p&gt;
&lt;p&gt;for (NSString * aString in mainDelegate.whiteListArray) {&lt;/p&gt;
&lt;p&gt;if (![urlString isMatchedByRegex:aString]) {&lt;/p&gt;
&lt;p&gt;is very slow, especially on the iPhone.&lt;/p&gt;
&lt;p&gt;thanks in advance.&lt;/p&gt;
&lt;p&gt;Reilly&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger</dc:creator><pubDate>Thu, 06 Aug 2009 21:21:55 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0ce2745d40b8f2896e3a72a3fb5af04a50c89d68</guid></item><item><title>Simple boolean regexIsValid method</title><link>https://sourceforge.net/p/regexkit/feature-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It would be very nice if RegexKitLite had a simple boolean method for checking if a given regex is valid without the need to run it on an actual string.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 04 May 2009 21:50:54 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0e1462dffe163b4bd122131594f36c761f56a35b</guid></item><item><title>Support for fetching array of matches.</title><link>https://sourceforge.net/p/regexkit/feature-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have added three new methods to the public API as this:&lt;/p&gt;
&lt;p&gt;- (NSArray *)RKL_METHOD_PREPEND(componentsMatchedByRegex):(NSString *)regex;&lt;br /&gt;
- (NSArray *)RKL_METHOD_PREPEND(componentsMatchedByRegex):(NSString *)regex inRange:(NSRange)range;&lt;br /&gt;
- (NSArray *)RKL_METHOD_PREPEND(componentsMatchedByRegex):(NSString *)regex options:(RKLRegexOptions)options inRange:(NSRange)range capture:(NSUInteger)capture error:(NSError**)error;&lt;/p&gt;
&lt;p&gt;The actual implementation is done in the static method rkl_collectArray, that is called by performRegexOp when using RKLCollectOp as regex operation argument.&lt;/p&gt;
&lt;p&gt;I hope this fits well with the overall design.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fredrik Olsson</dc:creator><pubDate>Thu, 23 Apr 2009 08:27:51 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netfb151cf3c23c2d51f7991c3b66f5b7ed9c0ec477</guid></item><item><title>escaping reserved characters for re pattern</title><link>https://sourceforge.net/p/regexkit/feature-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For regexkitlite, it would be cool to have somethig to escape the reserved characters.&lt;br /&gt;
Consider something like&lt;/p&gt;
&lt;p&gt;NSString * S = @"Do you dance?";&lt;br /&gt;
NSString * regex = [NSString stringWithFormat:@"%@",[S stringByEscapingICUREControlCharacters]];&lt;br /&gt;
NSRange R = [searchString rangeOfRegex:regex];&lt;/p&gt;
&lt;p&gt;In general the format string is much more complicated. Here is what I use:&lt;/p&gt;
&lt;p&gt;- (NSString *)stringByEscapingICUREControlCharacters;&lt;br /&gt;
{&lt;br /&gt;
// see &lt;a href="http://www.icu-project.org/userguide/regexp.html" rel="nofollow"&gt;http://www.icu-project.org/userguide/regexp.html&lt;/a&gt;&lt;br /&gt;
// "Characters that must be quoted to be treated as literals are * ? + [ ( ) { } ^ $ | \ . /"&lt;br /&gt;
NSMutableString * MS = [NSMutableString stringWithString:self];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"\\" withString:@"\\\\" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"*" withString:@"\\*" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"?" withString:@"\\?" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"+" withString:@"\\+" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"[" withString:@"\\[" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"(" withString:@"\\(" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@")" withString:@"\\)" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"{" withString:@"\\{" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"}" withString:@"\\}" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"^" withString:@"\\^" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"$" withString:@"\\$" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"|" withString:@"\\|" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"." withString:@"\\." options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
[MS replaceOccurrencesOfString:@"/" withString:@"\\/" options:NULL range:NSMakeRange(0,[MS length])];&lt;br /&gt;
return [NSString stringWithString:MS];&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">laurens</dc:creator><pubDate>Thu, 09 Apr 2009 19:56:14 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net41edabd760b756dab10dde35397dc72b520e716a</guid></item><item><title>Make RKStringBuffer (and friends) public</title><link>https://sourceforge.net/p/regexkit/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We'd like to store off a reference to an RKStringBuffer while we use primitives like getRanges:withCharacters:length:inRange: so we don't have to keep converting it to utf8.  Additionally, we'd like to be able to convert the ranges from utf8 to utf16 via a RKStringBuffer using RKConvertUTF8ToUTF16RangeForStringBuffer(), not using RKConvertUTF8ToUTF16RangeForString() because of the conversion costs and the frequency of needing to use this call. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Will&lt;br /&gt;
will [@] panic [dot] com&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 30 Jan 2009 01:04:37 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net53f9917f45de83e51d974a3162db4cd847bfb98f</guid></item><item><title>Search &amp; Replace for RegexKitLite</title><link>https://sourceforge.net/p/regexkit/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Would it be possible to add search &amp;amp; replace functionality to RegexKitLite?&lt;/p&gt;&lt;/div&gt;</description><pubDate>Sat, 14 Jun 2008 00:42:25 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netbed2a6ea26b8ce7cad402f878270ee04592cbec9</guid></item><item><title>named subpatterns to dictionary</title><link>https://sourceforge.net/p/regexkit/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Unless I'm mistaken, in order to get the named subpatterns you use the getCapturesWithRegexAndReferences method and provide it with the names and storage locations. It would be nice to to have something similar to Pythons re matches groupdict method where a dictionary of all named subpattern matches is returned.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Geoff Foster</dc:creator><pubDate>Sun, 01 Jun 2008 19:28:59 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netdf3631a47761375ece4dd950a3f3013bf4bfd80a</guid></item></channel></rss>