Skip to content

Commit

Permalink
Add some Boost Perl regex syntax into regex help string, issue #725.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Jan 16, 2024
1 parent bc18148 commit 59a4392
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 18 deletions.
8 changes: 6 additions & 2 deletions locale/de/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ BEGIN
\\xHH\tHexadecimal Value\n\
\\\\\tBackslash"

IDS_REGEXPHELP "RegExp Syntax (Single Lines Only)\n\n\
IDS_REGEXPHELP "Common RegExp Syntax\n\n\
.\tAny character\n\
^\tStart of a line\n\
$\tEnd of a line\n\
Expand All @@ -1764,7 +1764,11 @@ $\tEnd of a line\n\
*? or +?\tNon-greedy matching of quantifiers ""?"" and ""+""\n\
(\tStart of a region\n\
)\tEnd of a region\n\
\\n\tRefers to a region when replacing (n is 1-9)"
\\n\tRefers to a region when replacing (n is 1-9)\n\n\
Boost Perl Regex Syntax:\n\
a|b\tMatches either a or b\n\
{n}\tMatches preceding exactly n times\n\
{n,m}\tMatches preceding between n and m times"

IDS_WILDCARDHELP "Wildcard Search\n\n\
*\tMatches zero or more characters.\n\
Expand Down
8 changes: 6 additions & 2 deletions locale/fr-FR/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ BEGIN
\\xHH\ttValeur hexadécimal\n\
\\\\\tAnti-slash"

IDS_REGEXPHELP "RegExp Syntax (Single Lines Only)\n\n\
IDS_REGEXPHELP "Common RegExp Syntax\n\n\
.\tN'importe quel caractère\n\
^\tDébut de ligne\n\
$\tfind e ligne\n\
Expand All @@ -1764,7 +1764,11 @@ $\tfind e ligne\n\
*? or +?\tNon-greedy matching of quantifiers ""?"" and ""+""\n\
(\tDébut d'une région\n\
)\tFin d'une région\n\
\\n\tSe réfère à une région lors du remplacement (avec n étant compris entre 1 et 9)"
\\n\tSe réfère à une région lors du remplacement (avec n étant compris entre 1 et 9)\n\n\
Boost Perl Regex Syntax:\n\
a|b\tMatches either a or b\n\
{n}\tMatches preceding exactly n times\n\
{n,m}\tMatches preceding between n and m times"

IDS_WILDCARDHELP "Jocker de recherche\n\n\
*\tTrouvera zéro ou plus de caractères.\n\
Expand Down
8 changes: 6 additions & 2 deletions locale/it/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ BEGIN
\\xHH\tValore esadecimale\n\
\\\\\tBackslash"

IDS_REGEXPHELP "Sintassi RegExp (Solo righe singole)\n\n\
IDS_REGEXPHELP "Common RegExp Syntax\n\n\
.\tQualsiasi carattere\n\
^\tInizio di una linea\n\
$\tFine di una linea\n\
Expand All @@ -1764,7 +1764,11 @@ $\tFine di una linea\n\
*? o +?\tCorrispondenza inaccurata di quantificatori ""?"" e ""+""\n\
(\tInizio di un'area\n\
)\tFine di un'area\n\
\\n\tRiferimento a un'area quando sostituita (n è 1-9)"
\\n\tRiferimento a un'area quando sostituita (n è 1-9)\n\n\
Boost Perl Regex Syntax:\n\
a|b\tMatches either a or b\n\
{n}\tMatches preceding exactly n times\n\
{n,m}\tMatches preceding between n and m times"

IDS_WILDCARDHELP "Ricerca con caratteri Jolly\n\n\
*\tCorrisponde a zero o più caratteri.\n\
Expand Down
8 changes: 6 additions & 2 deletions locale/ja/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ BEGIN
\\xHH\t16進数表記\n\
\\\\\tバックスラッシュ自体"

IDS_REGEXPHELP "正規表現の構文 (単一行のみ)\n\n\
IDS_REGEXPHELP "Common 正規表現の構文\n\n\
.\t何らかの1文字\n\
^\t行の先頭\n\
$\t行の末尾\n\
Expand All @@ -1764,7 +1764,11 @@ $\t行の末尾\n\
*? か +?\t上記記号の ""?"" と ""+"" を最長合致ではなくする\n\
(\t範囲指定の括弧開始\n\
)\t範囲指定の閉じ括弧\n\
\\n\t置換時に対応括弧内の文字列を呼出 (n は 1-9)"
\\n\t置換時に対応括弧内の文字列を呼出 (n は 1-9)\n\n\
Boost Perl Regex Syntax:\n\
a|b\tMatches either a or b\n\
{n}\tMatches preceding exactly n times\n\
{n,m}\tMatches preceding between n and m times"

IDS_WILDCARDHELP "ワイルドカード検索\n\n\
*\t0文字以上の文字列に合致\n\
Expand Down
8 changes: 6 additions & 2 deletions locale/ko/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ BEGIN
\\xHH\t16진수 값\n\
\\\\\t백슬래시"

IDS_REGEXPHELP "정규식 구문 (한 줄만)\n\n\
IDS_REGEXPHELP "Common 정규식 구문\n\n\
.\t모든 문자\n\
^\t줄의 시작\n\
$\t줄의 끝\n\
Expand All @@ -1764,7 +1764,11 @@ $\t줄의 끝\n\
*? or +?\t""?"" 및 ""+""의 게으른 수량자\n\
(\t그룹의 시작\n\
)\t그룹의 끝\n\
\\n\t교체시 영역을 나타냄 (n은 1-9)"
\\n\t교체시 영역을 나타냄 (n은 1-9)\n\n\
Boost Perl Regex Syntax:\n\
a|b\tMatches either a or b\n\
{n}\tMatches preceding exactly n times\n\
{n,m}\tMatches preceding between n and m times"

IDS_WILDCARDHELP "와일드카드 검색\n\n\
*\t0개 이상의 문자와 일치합니다.\n\
Expand Down
8 changes: 6 additions & 2 deletions locale/pt-BR/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ BEGIN
\\xHH\tHexadecimal Value\n\
\\\\\tBackslash"

IDS_REGEXPHELP "RegExp Syntax (Single Lines Only)\n\n\
IDS_REGEXPHELP "Common RegExp Syntax\n\n\
.\tAny character\n\
^\tStart of a line\n\
$\tEnd of a line\n\
Expand All @@ -1764,7 +1764,11 @@ $\tEnd of a line\n\
*? or +?\tNon-greedy matching of quantifiers ""?"" and ""+""\n\
(\tStart of a region\n\
)\tEnd of a region\n\
\\n\tRefers to a region when replacing (n is 1-9)"
\\n\tRefers to a region when replacing (n is 1-9)\n\n\
Boost Perl Regex Syntax:\n\
a|b\tMatches either a or b\n\
{n}\tMatches preceding exactly n times\n\
{n,m}\tMatches preceding between n and m times"

IDS_WILDCARDHELP "Wildcard Search\n\n\
*\tMatches zero or more characters.\n\
Expand Down
8 changes: 6 additions & 2 deletions locale/zh-Hans/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ BEGIN
\\xHH\t十六进制值\n\
\\\\\t反斜线"

IDS_REGEXPHELP "正则表达式 (RegExp) 语法 (单行模式)\n\n\
IDS_REGEXPHELP "通用正则表达式 (RegExp) 语法\n\n\
.\t任何字符\n\
^\t行开始\n\
$\t行结束\n\
Expand All @@ -1764,7 +1764,11 @@ $\t行结束\n\
*? 或 +?\t对限量词 ""?"" 和 ""+"" 做非贪婪匹配\n\
(\t区域开始\n\
)\t区域结束\n\
\\n\t替换时引用的区域(n 为 1-9)"
\\n\t替换时引用的区域(n 为 1-9)\n\n\
Boost Perl 正则表达式语法:\n\
a|b\t匹配 a 或 b。\n\
{n}\t精确匹配 n 次。\n\
{n,m}\t匹配 n 至 m 次。"

IDS_WILDCARDHELP "通配符搜索\n\n\
*\t匹配 0 个或多个字符\n\
Expand Down
8 changes: 6 additions & 2 deletions locale/zh-Hant/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ BEGIN
\\xHH\t十六進位值。\n\
\\\\\t反斜線。"

IDS_REGEXPHELP "正規表示式(RegExp)語法(單行模式)\n\n\
IDS_REGEXPHELP "通用正規表示式(RegExp)語法\n\n\
.\t任何字元。\n\
^\t行開始。\n\
$\t行結束。\n\
Expand All @@ -1764,7 +1764,11 @@ $\t行結束。\n\
*? 或 +?\t對限量詞 ""?"" 和 ""+"" 做非貪婪比對。\n\
(\t區域開始。\n\
)\t區域結束。\n\
\\n\t取代時參考的區域(n 為 1-9)。"
\\n\t取代時參考的區域(n 為 1-9)。\n\n\
Boost Perl 規則運算式語法:\n\
a|b\t匹配 a 或 b。\n\
{n}\t精確匹配 n 次。\n\
{n,m}\t匹配 n 至 m 次。"

IDS_WILDCARDHELP "通配符搜尋\n\n\
*\t符合 0 個或多個字元。\n\
Expand Down
8 changes: 6 additions & 2 deletions src/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ BEGIN
\\xHH\tHexadecimal Value\n\
\\\\\tBackslash"

IDS_REGEXPHELP "RegExp Syntax (Single Lines Only)\n\n\
IDS_REGEXPHELP "Common RegExp Syntax\n\n\
.\tAny character\n\
^\tStart of a line\n\
$\tEnd of a line\n\
Expand All @@ -1764,7 +1764,11 @@ $\tEnd of a line\n\
*? or +?\tNon-greedy matching of quantifiers ""?"" and ""+""\n\
(\tStart of a region\n\
)\tEnd of a region\n\
\\n\tRefers to a region when replacing (n is 1-9)"
\\n\tRefers to a region when replacing (n is 1-9)\n\n\
Boost Perl Regex Syntax:\n\
a|b\tMatches either a or b\n\
{n}\tMatches preceding exactly n times\n\
{n,m}\tMatches preceding between n and m times"

IDS_WILDCARDHELP "Wildcard Search\n\n\
*\tMatches zero or more characters.\n\
Expand Down

0 comments on commit 59a4392

Please sign in to comment.