Skip to content

Commit

Permalink
Update expand_template regex to recognize from_dotted_str() 256 colors
Browse files Browse the repository at this point in the history
  • Loading branch information
MoSal authored and aj-bagwell committed May 20, 2021
1 parent 8ce3663 commit 3468707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ pub fn expand_template<F: FnMut(&TemplateVar<'_>) -> String>(s: &str, mut f: F)
([<^>])?
([0-9]+)?
(!)?
(?:\.([a-z_]+(?:\.[a-z_]+)*))?
(?:\.([0-9a-z_]+(?:\.[0-9a-z_]+)*))?
(?:/([a-z_]+(?:\.[a-z_]+)*))?
)?
"
Expand Down

0 comments on commit 3468707

Please sign in to comment.