rem: currentString.search(/^(\s*)\*(\s*)/); 
add: currentString.search(/^\s*\*(\s*)/); 
context: function tryCComment(line){    var currentLine = line - 1;    if (currentLine < 0)        return -1;    var currentString = document.line(currentLine);    var lastPos = document.lastChar(currentLine);    var indentation = -1;    var notInCComment = false;    if (lastPos == -1) {        var lineDelimiter = gLineDelimiter;        // empty line: now do the following        // 1. search for non-empty line        // 2. then break and continue with the check for "*/"        notInCComment = true;        // search non-empty line, then return leading white spaces        while (currentLine >= 0 && lineDelimiter > 0) {            lastPos = document.lastChar(currentLine);            if (lastPos != -1) {                break;            }            --currentLine;            --lineDelimiter;        }        currentString = document.line(currentLine);    }    // we found a */, search the opening /* and return its indentation level    if (currentString.charAt(lastPos) == '/'        && currentString.charAt(lastPos - 1) == '*')    {        var startOfComment;        var lineDelimiter = gLineDelimiter;        while (currentLine >= 0 && lineDelimiter > 0) {            currentString = document.line(currentLine);            startOfComment = currentString.indexOf("/*");            if (startOfComment != -1) {                indentation = currentString.substring(0, document.firstChar(currentLine));                break;            }            --currentLine;            --lineDelimiter;        }        return indentString(indentation);    }    // there previously was an empty line, in this case we honor the circumstances    if (notInCComment)        return -1;    var firstPos = firstNonSpace(currentString);    var char1 = currentString.charAt(firstPos);    var char2 = currentString.charAt(firstPos + 1);    if (char1 == '/' && char2 == '*') {        currentString.search(/^(\s*)/);        indentation = indentString(RegExp.$1);        indentation += " * ";    } else if (char1 == '*' && (char2 == '' || char2 == ' ' || char2 == '\t')) {        currentString.search(/^(\s*)\*(\s*)/);        // in theory, we could search for opening /*, and use its indentation        // and then one alignment character. Let's not do this for now, though.        var end = RegExp.$2;        indentation = indentString(RegExp.$1) + '*' + end;        if (indentation.charAt(indentation.length - 1) == '*')            indentation += ' ';    }    return indentation;}
meta: 1078	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1078/cf2ffaa32d876fe8f95a098900ec8c956af8ab1e/script-indent-c-test.js/clean/kate/scripts/script-indent-c-test.js