/webapp/templates/parse2.html |
---|
10,8 → 10,10 |
</form> |
{% if type(out) == list %} |
{{ out[0][1]}} <br /> |
{{ "<br />".join(out[1:].split()) }} |
{% for elem in out[1:] %} |
{{ elem }} <br /> |
{% end %} |
{% end %} |
<script type="text/javascript"> |
document.getElementById("word").focus(); |
</script> |
/tsimapiak/parse2.py |
---|
20,6 → 20,6 |
rem = re.match(wordre,wordin) |
if rem: |
wordfound = word |
ret = [wordfound] + list(rem.groups) |
ret = [wordfound] + list(rem.groups()) |
break |
return ret |