Giter Site home page Giter Site logo

qregularexpressiontester's Introduction

QRegularExpression tester

このツールについて

Qt の QRegularExpresssion による正規表現のテストプログラムです。 QRegularExpressionPCRE(Perl-compatible regular expression、Perl5 互換の正規表現)を使用しており 他のプログラミング言語やソフトウェアでも広く使われています。

Qt でプログラミングをしている方、手元に正規表現を手軽に試す環境がない方は、 本ソフトで思う存分書き散らかして下さい。

動作例

実行ファイルの入手方法

Windows(x64)用バイナリが bin/win-x64/QRegularExpressionTester.exe にありますのでダウンロードして下さい。 他のプラットフォームの方は、お手数ですがソースコードからビルドして下さい。

使い方

  • Regular Expression の欄に正規表現を入力して下さい。
  • Test text の欄に試しにマッチさせてみたいテキストを入力して下さい。
  • テキスト変更で即座にマッチ結果が表示されます(そのためMatch ボタンは不要になったはず)

Test text 内にマッチしたテキストが水色でハイライトされます。 また、Log 欄には

  • 入力した正規表現
  • C/C++ 文字列リテラル内に記述する場合の表記(""が二重になっています)
  • キャプチャされた文字位置とマッチした文字列

が表示されます。

ソースコードのビルド方法

Qt Creator が必要となります。(Community版で問題ありません) Qt 公式サイトダウンロードページからダウンロード・インストールしてください。

Qt Creator を起動したら、src/QRegularExpressionTester.pro を読み込んでビルドして下さい。

qregularexpressiontester's People

Contributors

tomotaco avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.