W3cubDocs

/Haxe Python

Regex

package python.lib

import python.lib.Re

Available on python

Variables

read onlyflags:Int

read onlygroupindex:Dict<String, Int>

read onlygroups:Int

read onlypattern:String

Methods

inlinefindallArray(string:String, ?pos:Int, ?endpos:Int):Array<Array<String>>

inlinefindallDynamic(string:String, ?pos:Int, ?endpos:Int):Array<Dynamic>

inlinefindallString(string:String, ?pos:Int, ?endpos:Int):Array<String>

inlinefindallTuple(string:String, ?pos:Int, ?endpos:Int):Array<Tuple<String>>

finditer(string:String, ?pos:Int, ?endpos:Int):NativeIterator<MatchObject>

match(string:String, pos:Int = 0, ?endpos:Int):Null<MatchObject>

split(string:String, maxsplit:Int = 0):Array<String>

sub(repl:Repl, string:String, count:Int = 0):String

subn(repl:Repl, string:String, count:Int = 0):String

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/lib/Regex.html