首页 \ 问答 \ 正则表达式中\ d {1-3}的含义(Meaning of \d{1-3 }in regular expression)

正则表达式中\ d {1-3}的含义(Meaning of \d{1-3 }in regular expression)

我一直在寻找很长一段时间,但没有找到我的问题的答案,可以告诉我是什么意思

(?:[-\w\d{1-3}]+\.)+

并不是

(?:[-\w\d{1,3}]+\.)+

我不理解{1-3}部分,无法找到它的意思。 谢谢


I've been searching for a long time but didn't find an answer for my question, can tell me what the meaning of

(?:[-\w\d{1-3}]+\.)+

and not

(?:[-\w\d{1,3}]+\.)+

I don't understand the {1-3} part and can't find anywhere what it's mean. Thank you


原文:
更新时间:2022-04-25 16:04

最满意答案

哈! 这是一个OpenSSL问题! curl -v "https://registration.experient-inc.com/HTMLProduction/ShowCES131/ConfirmationImages/CES131_Header.JPG"也不起作用!


Ha! This is an OpenSSL issue! curl -v "https://registration.experient-inc.com/HTMLProduction/ShowCES131/ConfirmationImages/CES131_Header.JPG" does not work either!

相关问答

更多
  • 我们需要制作自定义QNetworkReply类并在readyRead事件结果中获得结果。 We need to make custom QNetworkReply class and get results in readyRead event results.
  • 上面的代码完美无缺 - 只要存储PDF的位置没有输入错误 - 就像我的情况一样。 所以问题就解决了。 The code above works perfectly- as long as the location to store the PDF does not have a typo -which it had in my case. So problem is solved.
  • 如果你在这里阅读: 关于QWebEngine的错误报告 ,你会看到: 将CSS代码注入WebEngineView的唯一机会是使用JavaScript。 为此提供适当的API会很好,它可能看起来像我们现有的UserScripts API。 看起来很清楚: 你不能再使用WebSettings来插入CSS了。 相反,您将不得不使用HTML / JavaScript来做到这一点。 我不知道它是否会对你有帮助,但这里有我所做过的摘录。 在我的.cpp : m_pView = new QWebEngineView(th ...
  • 在Qt中,所有到外部文件的路径都必须是ABSOLUTE路径,而不是相对路径。 为了解决这个问题,我添加了以下更改: path = os.getcwd() self.webview.settings().setUserStyleSheetUrl(QUrl.fromLocalFile(path + "/myCustom.css")) 一切正常。 希望这将有助于未来的人,并为他们节省几个小时的调试时间。 In Qt, all paths to external files need to be ABSOLUTE ...
  • 喔我解决了我的问题。 仍然不知道QWebView什么问题,而是使用QWebEngineView ,这就像一个魅力。 也许因为它的铬就是原因。 感谢所有人的投入。 Oukey i resolved my problem. Still dont know what was wrong with QWebView instead i used QWebEngineView and that worked like a charm. Maybe since its chromium that is the reas ...
  • 您可能需要包含相关的Qt图像处理插件库,这些库位于qt/plugins/imageformats (也可能是qt/plugins/iconengines )中。 我没有部署任何webkit应用程序,所以我不确定这一点。 You might need to include the relevant Qt image processing plugin libraries, which are located in qt/plugins/imageformats (and maybe also qt/plugi ...
  • 解决:问题是QWebView没有将“file:///”添加到url,因此它可以在相对路径之前添加到基本标记中。 但更方便的选择是在setHtml函数中设置基本URL与基本标记中的相同! QUrl baseUrl("file:///d:/Server/styles/"); ui->webView->setHtml(textDocument->toPlainText(), baseUrl); Solved: the problem was that QWebView doesn't add "file:/// ...
  • 一种可能的解决方案是第二次重新加载页面,如下所示: self.isFirst = True temp_webpage.loadFinished.connect(self.onLoadFinished) def onLoadFinished(self, ok): if self.isFirst: # self.sender().page().action(QWebEnginePage.Reload).trigger() self.sender().r ...
  • 问题是,即使你放置了网址, QWebView也不知道你已经放置了它,为此你必须使用一个信号(在这种情况下是editingFinished ,当你点击回车键或返回键时执行),另一个问题是你需要添加前缀: http:// self.ln_addressbar.editingFinished.connec(self.OnEditingFinished) def OnEditingFinished(self): self.webView.setUrl(QtCore.QUrl("http://"+self. ...
  • 哈! 这是一个OpenSSL问题! curl -v "https://registration.experient-inc.com/HTMLProduction/ShowCES131/ConfirmationImages/CES131_Header.JPG"也不起作用! Ha! This is an OpenSSL issue! curl -v "https://registration.experient-inc.com/HTMLProduction/ShowCES131/ConfirmationImag ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。