SourceHelp.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <script setup>
  2. import { Link } from "@element-plus/icons-vue";
  3. </script>
  4. <template>
  5. <el-link
  6. :icon="Link"
  7. href="https://alanskycn.gitee.io/teachme/"
  8. target="_blank"
  9. >书源制作教程</el-link
  10. ><br />
  11. <el-link
  12. :icon="Link"
  13. href="https://zhuanlan.zhihu.com/p/29436838"
  14. target="_blank"
  15. >xpath基础教程</el-link
  16. ><br />
  17. <el-link
  18. :icon="Link"
  19. href="https://zhuanlan.zhihu.com/p/32187820"
  20. target="_blank"
  21. >xpath高级教程</el-link
  22. ><br />
  23. <el-link
  24. :icon="Link"
  25. href="https://www.w3cschool.cn/regex_rmjc"
  26. target="_blank"
  27. >正则表达式教程</el-link
  28. ><br />
  29. <el-link :icon="Link" href="https://regexr-cn.com/" target="_blank"
  30. >正则表达式在线验证工具</el-link
  31. ><br />
  32. <div style="margin-top: 20px">
  33. <span
  34. ><el-text
  35. ><code>^$()[]{}.?+*|</code> 这些是Java正则特殊符号,匹配需转义</el-text
  36. ></span
  37. ><br />
  38. <span
  39. ><el-text><code>(?s)</code> 前缀表示跨行解析</el-text></span
  40. ><br />
  41. <span
  42. ><el-text><code>(?m)</code> 前缀表示逐行匹配</el-text></span
  43. ><br />
  44. <span
  45. ><el-text><code>(?i)</code> 前缀表示忽略大小写</el-text></span
  46. ><br />
  47. </div>
  48. </template>
  49. <style lang="scss" scoped>
  50. .el-link {
  51. padding: 4px;
  52. }
  53. .el-text {
  54. padding-top: 20px;
  55. }
  56. </style>