My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 218: EReg.matchSub with ^ anchor
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 213
Owner:  ----
Closed:  Dec 2012


 
Project Member Reported by si...@haxe.org, Dec 12, 2012
class Main {
	static public function main() {
		var r = ~/^b/g;
		trace(r.matchSub("ab", 1)); // true on C++
	}
}

This is false on all platforms except C++, where the ^ anchor is incorrectly matched with the start of the substring.

According to Nicolas, the parallel neko fix was this: https://code.google.com/p/nekovm/source/detail?r=1881
Dec 12, 2012
Project Member #1 si...@haxe.org
I just saw this was already posted as part of #213.
Dec 12, 2012
Project Member #2 si...@haxe.org
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 213

Powered by Google Project Hosting