Skip to content

Commit

Permalink
Making the foreground section of the hex pattern a noncapturing group…
Browse files Browse the repository at this point in the history
… allows for only setting the background via hecho/etc. (Mudlet#4027)
  • Loading branch information
demonnic authored Aug 17, 2020
1 parent f29bd0e commit c0e2f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mudlet-lua/lua/GUIUtils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ if rex then
_Echos = {
Patterns = {
Hex = {
[[(\x5c?(?:#|\|c)[0-9a-fA-F]{6}?(?:,[0-9a-fA-F]{6})?)|(\|r|#r)]],
[[(\x5c?(?:#|\|c)(?:[0-9a-fA-F]{6})?(?:,[0-9a-fA-F]{6})?)|(\|r|#r)]],
rex.new [[(?:#|\|c)(?:([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2}))?(?:,([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2}))?]],
},
Decimal = {
Expand Down

0 comments on commit c0e2f9b

Please sign in to comment.