About 899,000 results
Open links in new tab
  1. Difference between '.' , '?' and '*' in regular expressions?

    Sep 9, 2016 · You may be confusing regular expressions with shell globs In regular expression syntax . represents any single character (usually excluding the newline character), while * is a quantifier …

  2. regex - How can I use sed to remove all characters before a specific ...

    In the regex ^[^=]*=/, the leading caret means that the regex has to match starting at the beginning of the line. The expression [^=]*= matches every character up to and including the first equal sign.

  3. regex - Regular expression that will catch strings containing 2 ...

    Jan 31, 2018 · The regex explainer here will help to decipher it. It will find a string with "must-" at the start followed by at least one lowercase-letter, number, dash, or dot; then "best" followed by at least …

  4. regex - Pattern based, batch file rename in terminal - Ask Ubuntu

    No Action: show what files would have been renamed. rename MAY take regex as the arguments. What we are looking at is the content between the single quotes '. You can place regex separated by /. …

  5. ModuleNotFoundError: No module named 'regex._regex'

    It looks like the Regex module in this case is bundled with the whole software and NOT from the system repos or PyPI. Unfortunately, that makes solving this very limited. Are you working in a venv or …

  6. "Failed to create user" due to regular expression error

    Jun 12, 2020 · This Ask Ubuntu thread discusses a regular expression error encountered while creating a user and provides solutions to address the issue.

  7. adduser.conf NAME_REGEX is not working - Ask Ubuntu

    May 25, 2015 · After testing several of the above regular expressions for NAME_REGEX with no success (html code is hiding some \ characters, at least), I managed to write a proper and working …

  8. regex - grep for string not preceded by another string - Ask Ubuntu

    Dec 12, 2011 · Is it possible, using grep, to search for instances of John Smith but exclude instances of Mr John Smith?

  9. Rename files by regexp in command line - Ask Ubuntu

    There is a command called (in an excess of originality) rename, that allows you to rename files using regular expressions. In this case, you probably want to do: rename 's/\*//' files... Which will remove …

  10. regex - Find command with regular expressions - Ask Ubuntu

    Oct 3, 2019 · From man find: -regex pattern File name matches regular expression pattern. This is a match on the whole path, not a search. For example, to match a file named `./fubar3', you can use …