sqlitebrowser/sqlitebrowser

Verify regexp wiki page and get help with examples

Open

#3,304 opened on 2023年3月22日

GitHub で見る
 (16 comments) (1 reaction) (0 assignees)C++ (24,039 stars) (2,334 forks)batch import
documentationhelp wanted

説明

What did you do?

This is not a bug, but a request for help updating the regexp wiki page:

  1. I edited the page at https://github.com/sqlitebrowser/sqlitebrowser/wiki/Regular-Expressions to collect the examples and modifiers together, moving the version-related exceptions to the bottom.

    My request: I think I kept everything correct, but someone who knows more than I do should review the edits.

  2. I feel the urge to include more examples using the modifiers. I envision the examples would look like this:

    SELECT * FROM test WHERE something REGEXP '(?i)el'; -- case insensitive
    SELECT * FROM test WHERE something REGEXP '(?m)?????; -- multiline
    SELECT * FROM test WHERE something REGEXP '(?s)??????'; -- something about `/n`
    SELECT * FROM test WHERE something REGEXP '(?U)?????; -- Greedy or not...
    

    My request: Could someone help me flesh these out?

Thanks for this great tool!

What did you expect to see?

See above

What did you see instead?

See above

DB4S Version

3.12.2

What OS are you seeing the problem on?

MacOS

OS version

12.6

Relevant log output

See above

Prevention against duplicate issues

  • I have searched for similar issues

コントリビューターガイド