question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow any character - except whitespace - in regexp patterns

See original GitHub issue

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
agileagocommented, Feb 1, 2021

@lppedd perfect!! Your work is amazing!Looking forward to an early release

0reactions
agileagocommented, Feb 26, 2021

@lppedd maybe we can support git emoji ? it is like https://gitmoji.dev/

{
  "types": {
    "🎉 重构": {
      "description": "重构:    代码重构,注意和特性、修复区分开"
    },
    "修复": {
      "description": "修复:    修复一个Bug"
    },
    "特性": {
      "description": "特性:    一个新的特性"
    },
    "构建": {
      "description": "构建:   开发环境构建",
      "scopes": {
        "npm": {},
        "gulp": {},
        "broccoli": {}
      }
    },
    "设计": {
      "description": "设计:   修改代码设计"
    },
    "格式": {
      "description": "格式:    空格, 分号等格式修复"
    },
    "测试": {
      "description": "测试:    添加一个测试"
    },
    "文档": {
      "description": "文档:    变更的只有文档"
    },
    "性能": {
      "description": "性能:    提升性能"
    },
    "工具": {
      "description": "工具:    开发工具变动(构建、脚手架工具等)"
    },
    "回滚": {
      "description": "回滚:    代码回退"
    }
  },
  "commonScopes": {
    "模块一": {
      "description": "我是模块一"
    }
  },
  "footerTypes": [
    {
      "name": "BREAKING CHANGE",
      "description": "The commit introduces breaking API changes"
    },
    {
      "name": "Closes",
      "description": "The commit closes issues or pull requests"
    },
    {
      "name": "Implements",
      "description": "The commit implements features"
    },
    {
      "name": "Co-authored-by",
      "description": "The commit is co-authored by another person.<br/>For multiple people use one line each"
    },
    {
      "name": "Refs",
      "description": "The commit references other commits by their hash ID.<br/>For multiple hash IDs use a comma as separator"
    }
  ]
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

regex - How to match any non white space character except a ...
You can use a character class: /[^\s\\]/. matches anything that is not a whitespace character nor a \ . Here's another example:.
Read more >
Matching Whitespace & Non-Whitespace Character
Use \s to match whitespace and \S to match non whitespace characters in this challenge.
Read more >
RegExp \S Metacharacter - W3Schools
JavaScript RegExp \S Metacharacter​​ The \S metacharacter matches non-whitespace characters. Whitespace characters can be: A space character. A tab character.
Read more >
Basic Regular Expressions: Exclusions
To match any character except a list of excluded characters, put the excluded charaters between [^ and ] . The caret ^ must...
Read more >
Non whitespace string - Regex Tester/Debugger
Character classes . any character except newline. \w \d \s, word, digit, whitespace. \W \D \S, not word, digit, whitespace. [abc], any of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found