Hey all! I couldn't find a board on regular expressions, so I thought I would just post it here in general.
In the past I was doing word completion where it would put in the various possibilities like this:
In this example, it would match
Thanks!
Terry
Edit: Btw, is there a RegExp board somewhere that I couldn't find? Thanks again!
In the past I was doing word completion where it would put in the various possibilities like this:
<aliases>
<alias
match="^sc(o|or)?$"
enabled="y"
regexp="y"
sequence="100"
>
<send>score</send>
</alias>
</aliases>In this example, it would match
sc, sco, or scor, and input "score". Although this is fine for short commands, I'm interested in allowing completion for arguments, etc., like with 'look' or 'kill'. Does anyone know of a way of handling completion in RegExp? Otherwise, I guess I'd have to use a Lua table, or something. =\Thanks!
Terry
Edit: Btw, is there a RegExp board somewhere that I couldn't find? Thanks again!