gpt4 book ai didi

TextPad 中的正则表达式模式搜索失败,可在 Visual Studio 中使用

转载 作者:行者123 更新时间:2023-12-01 07:48:48 24 4
gpt4 key购买 nike

我正在尝试使用 TextPad 在多个文件中搜索正则表达式。我有一个简单的模式,但它在 TextPad 中不起作用。它在 Visual Studio 中运行良好。

谁有想法?

我正在寻找:

hosted.mysite.com or host.mysite.com

使用模式:
(hosted|host)\.mysite\.com

最佳答案

使用这样的东西

\(hosted\|host\).mysite.com

关于TextPad 中的正则表达式模式搜索失败,可在 Visual Studio 中使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1568694/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com