Skip to content

Commit 173dbb0

Browse files
author
Yutaka Emura
committed
fix compiler errors
1 parent 4b91b60 commit 173dbb0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

en/howto/search/replacement_expression_syntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ the **Replace** dialog box and in the **Replace in Files** dialog box.
2525
| \\E | Turns off previous \\L, \\U, \\F, \\H, \\Nc, \\Nd, \\NC, or \\ND. |
2626
| \\J | Specifies that JavaScript is used as the expression. \\J must be placed at the beginning of the replacement expression. Can be combined with back references. The **cell** function can also be used in the script. See [cell function (beta)](#cell-function-beta).
2727
| \\V | Same as \\J except that \\V uses the **V8 JavaScript** engine instead of the **Chakra** engine. |
28-
| \\D | If the Date/Time type of a [**Number Range Expression**](number_range_syntax) is used to match a string, this expression specifies a date format. It can be combined with **\\T**. [See available day, month, and year format pictures.](https://docs.microsoft.com/en-us/windows/win32/intl/day--month--year--and-era-format-pictures) See [Date format example](#date-format-example)
29-
| \\T | If the Date/Time type of a [**Number Range Expression**](number_range_syntax) is used to match a string, this expression specifies a time format. It can be combined with **\\D**. [See available hour, minute, and second format pictures.](https://docs.microsoft.com/en-us/windows/win32/intl/hour--minute--and-second-format-pictures) See [Time format example](#time-format-example)
28+
| \\D | If the Date/Time type of a [**Number Range Expression**](number_range_syntax) is used to match a string, this expression specifies a date format. It can be combined with **\\T**. [See available day, month, and year format pictures.](https://docs.microsoft.com/en-us/windows/win32/intl/day--month--year--and-era-format-pictures)
29+
| \\T | If the Date/Time type of a [**Number Range Expression**](number_range_syntax) is used to match a string, this expression specifies a time format. It can be combined with **\\D**. [See available hour, minute, and second format pictures.](https://docs.microsoft.com/en-us/windows/win32/intl/hour--minute--and-second-format-pictures)
3030
| (?Ntrue\_expression:false\_expression) | If sub-expression N was matched, then true\_expression is evaluated and sent to output, otherwise false\_expression is evaluated and sent to output. For example, (?1foo:bar) will replace each match found with foo if the sub-expression \\1 was matched, and with bar otherwise. Alternatively, you can write the expression in this form: (?{1}foo:bar) |
3131
| $(Path) | File path. |
3232
| $(Dir) | File directory. |

zh-cn/howto/search/replacement_expression_syntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
| \\E | 关闭之前的 \\L,\\U,\\F,\\H,\\Nc,\\Nd,\\NC,或 \\ND。 |
2525
| \\J | 指定表达式使用 JavaScript。\\J 必须放在替换表达式的开头。可以与反向引用结合使用。还可以在脚本中使用 **cell** 函数。请看 [cell function (beta)](#cell-function-beta)
2626
| \\V |\\J 相同,只是 \\V 使用 **V8 JavaScript** 引擎而不是 **Chakra** 引擎。 |
27-
| \\D | 如果 [**数字范围表达式**](number_range_syntax) 的类型为日期/时间,并用于匹配字符串,则该表达式指定了一种日期格式。它可以与 **\\T** 结合使用。[请参阅可用的日、月和年格式图片。](https://docs.microsoft.com/zh-cn/windows/win32/intl/day--month--year--and-era-format-pictures) 参见[日期格式示例](#date-format-example)
28-
| \\T | 如果 [**数字范围表达式**](number_range_syntax) 的类型为日期/时间,并用于匹配字符串,则该表达式指定了一种时间格式。它可以与 **\\D** 结合使用。[请参阅可用的小时、分钟和秒格式图片。](https://docs.microsoft.com/zh-cn/windows/win32/intl/hour--minute--and-second-format-pictures) 参见[时间格式示例](#time-format-example)
27+
| \\D | 如果 [**数字范围表达式**](number_range_syntax) 的类型为日期/时间,并用于匹配字符串,则该表达式指定了一种日期格式。它可以与 **\\T** 结合使用。[请参阅可用的日、月和年格式图片。](https://docs.microsoft.com/zh-cn/windows/win32/intl/day--month--year--and-era-format-pictures)
28+
| \\T | 如果 [**数字范围表达式**](number_range_syntax) 的类型为日期/时间,并用于匹配字符串,则该表达式指定了一种时间格式。它可以与 **\\D** 结合使用。[请参阅可用的小时、分钟和秒格式图片。](https://docs.microsoft.com/zh-cn/windows/win32/intl/hour--minute--and-second-format-pictures)
2929
| (?Ntrue\_expression:false\_expression) | 如果匹配子表达式 N,则评估 true\_expression 并将其发送到输出,否则评估 false\_expression 并将其发送到输出。例如,(?1foo:bar),如果匹配子表达式 \\1,会用 foo替换每个匹配,反之则用 bar。另外,您也可以用这种方式写该表达式:(?{1}foo:bar) |
3030
| $(Path) | 文件路径。 |
3131
| $(Dir) | 文件目录。 |

zh-tw/howto/search/replacement_expression_syntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
| \\E | 關閉之前的 \\L,\\U,\\F,\\H,\\Nc,\\Nd,\\NC,或 \\ND。 |
2525
| \\J | 指定運算式使用 JavaScript。\\J 必須放在取代運算式的開頭。可以與反向參考結合使用。還可以在指令碼中使用 **cell** 函數。請看 [cell function (beta)](#cell-function-beta)
2626
| \\V |\\J 相同,只是 \\V 使用 **V8 JavaScript** 引擎而不是 **Chakra** 引擎。 |
27-
| \\D | 如果 [**數字範圍運算式**](number_range_syntax) 的類型為日期/時間,並用於符合字串,則該運算式指定了一種日期格式。它可以與 **\\T** 結合使用。[請參閱可用的日、月和年格式圖片。](https://docs.microsoft.com/zh-tw/windows/win32/intl/day--month--year--and-era-format-pictures) 參見[日期格式範例](#date-format-example)
28-
| \\T | 如果 [**數字範圍運算式**](number_range_syntax) 的類型為日期/時間,並用於符合字串,則該運算式指定了一種時間格式。它可以與 **\\D** 結合使用。[請參閱可用的小時、分鐘和秒格式圖片。](https://docs.microsoft.com/zh-tw/windows/win32/intl/hour--minute--and-second-format-pictures) 參見[時間格式範例](#time-format-example)
27+
| \\D | 如果 [**數字範圍運算式**](number_range_syntax) 的類型為日期/時間,並用於符合字串,則該運算式指定了一種日期格式。它可以與 **\\T** 結合使用。[請參閱可用的日、月和年格式圖片。](https://docs.microsoft.com/zh-tw/windows/win32/intl/day--month--year--and-era-format-pictures)
28+
| \\T | 如果 [**數字範圍運算式**](number_range_syntax) 的類型為日期/時間,並用於符合字串,則該運算式指定了一種時間格式。它可以與 **\\D** 結合使用。[請參閱可用的小時、分鐘和秒格式圖片。](https://docs.microsoft.com/zh-tw/windows/win32/intl/hour--minute--and-second-format-pictures)
2929
| (?n:true\_expression:false\_expression) | 如果符合子運算式 N,則評估 true\_expression 並將其發送到匯出,否則評估 false\_expression 並將其發送到匯出。例如,(?1foo:bar),如果符合子運算式 \\1,會用 foo取代每個符合,反之則用 bar。另外,您也可以用這種方式寫該運算式:(?{1}foo:bar) |
3030
| $(Path) | 檔案路徑。 |
3131
| $(Dir) | 檔案目錄。 |

0 commit comments

Comments
 (0)