XBlog

Home Archives
2017-03-29

Regex Notes

Content

(?s) For “single line mode” makes the dot match all characters, including line breaks. Not supported by Ruby or JavaScript.
*? Ungreedy
(?<=(regex)) Positive Lookbehind
(?<!(regex)) Negative Lookbehind
(?=(regex)) Positive Lookahead
(?!(regex)) Negative Lookahead

Reference:

Regular-Expressions.info Tutorial

Share
  • Regex
Newer
Manage Hexo Blog with Git
Older
Markdown Notes

Tags

  • ADB
  • Android
  • Cryptography
  • Cygwin
  • GCC
  • HTTPS
  • Hexo
  • Java
  • JavaScript
  • KeyStore
  • Linux
  • MacOS
  • Markdown
  • Matlab
  • Network
  • Octave
  • OpenSSL
  • Outlook
  • Reflection
  • Regex
  • SGX
  • Shell
  • SublimeText
  • TODO
  • Troubleshoot
  • Ubuntu
  • VMware
  • VSCode
  • Windows
  • clang
  • docker
  • fcitx
  • git
  • mosh
  • ohmyzsh
  • tmux
  • xargs

Tag Cloud

ADB Android Cryptography Cygwin GCC HTTPS Hexo Java JavaScript KeyStore Linux MacOS Markdown Matlab Network Octave OpenSSL Outlook Reflection Regex SGX Shell SublimeText TODO Troubleshoot Ubuntu VMware VSCode Windows clang docker fcitx git mosh ohmyzsh tmux xargs

Archives

  • July 2022
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • January 2018
  • December 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • September 2016

Recent Posts

  • Great App Launchers for Linux/MacOS/Windows
  • How to Disable Show More Options in Context Menu of Windows 11
  • How to Quickly Open Specific Control Panel Options
  • Add Xiaohe Shuangpin for Microsoft Pinyin
  • Change Display Settings before Login in Ubuntu 22.04
© 2022 Rundong Zhou
Powered by Hexo
Home Archives