sandsmark/QuasselDroid — pull request #96 by aziraphale (2013-04-28 16:09:27+00:00)
Title: Another minor issue with mIRC formatting/colours

Swapped the ordering of searching for bold/underline/invert vs. colours so that ^B^B (or similar) can be used to separate a colour code from a number that should be coloured (for those of us - like me until five minutes ago - who hadn't thought of zero-padding single-digit colour codes). This brings QuasselDroid's behaviour in line with the official Quassel client.

The original issue description from my fork:

-------------------------

![examples](http://i.imgur.com/UhbK867.png)

`[^C{WHITE_BOLD}^B^B3k▷^R, ^C{GREEN}^B^B187☺^R/^C{RED}^B^B3☹^R, ^C{WHITE}^B^B44✍^R]`
`[^C0^B^B3k▷^R, ^C3^B^B187☺^R/^C5^B^B3☹^R, ^C15^B^B44✍^R]`

`[^C{WHITE_BOLD}^B^B2M▷^R, ^C{GREEN}^B^B27k☺^R/^C{RED}^B^B786☹^R, ^C{WHITE}^B^B8k✍^R]`
`[^C0^B^B2M▷^R, ^C3^B^B27k☺^R/^C5^B^B786☹^R, ^C15^B^B8k✍^R]`