mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-23 01:36:57 -08:00
fix: _
is not parsed in template variable name (#920)
This commit is contained in:
parent
6482ef227a
commit
90c04f1db2
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ namespace SourceGit.Models
|
||||||
|
|
||||||
private static bool IsNameChar(char c)
|
private static bool IsNameChar(char c)
|
||||||
{
|
{
|
||||||
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9');
|
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || c == '_';
|
||||||
}
|
}
|
||||||
|
|
||||||
// (?) notice or log if variable is not found
|
// (?) notice or log if variable is not found
|
||||||
|
|
Loading…
Reference in a new issue