For loop

Hi
I found one example of spell Checker. it works but I can’t get what is for loop doing??
for ( ; ; ) is it like while(true)

private function checkText():void {
            var wordPattern:RegExp =/\b\w+\b/; // match next word...
            var inputValue:String = inputText.text;
            var offset:int, curPos:int;
            
            for ( ; ; ) {
                var res:Array = inputValue.match( wordPattern); // lookup word by word....
                if ( res == null ) break;
                if ( !sp.checkWord(res[0]) ) {
                    offset = inputText.text.length-inputValue.length;
                    curPos = inputValue.indexOf(res[0]);
                    var currentRange:TextRange = new TextRange(inputText, false, offset+ curPos, offset+ curPos+res[0].length); // mark mispelled word.
                    currentRange.color = "red";
                }
                inputValue = inputValue.substr(inputValue.indexOf(res[0])+ res[0].length);
            }
        }