NAME

TSQL::Common::Regexp - Contains regexps common across TSQL::AST and TSQL::SplitStatement

VERSION

Version 0.02

SYNOPSIS

This is a simple module supporting TSQL::SplitStatement and TSQL::AST.

DESCRIPTION

Contains common regular expressions.

DEPENDENCIES

AUTHOR

Ded MedVed, <dedmedved at cpan.org>

BUGS

Please report any bugs or feature requests to bug-tsql-common-regexp at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TSQL::Common::Regexp. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

METHODS

qr_label

  • TSQL::Common::Regexp->qr_label()

This returns a regexp to match a TSQL label token.

qr_id

  • TSQL::Common::Regexp->qr_id()

This returns a regexp to match a TSQL id token.

qr_begintoken

  • TSQL::Common::Regexp->qr_begintoken()

This returns a regexp to match a TSQL BEGIN token.

qr_endtoken

  • TSQL::Common::Regexp->qr_endtoken()

This returns a regexp to match a TSQL END token.

qr_begintrytoken

  • TSQL::Common::Regexp->qr_begintrytoken()

This returns a regexp to match a TSQL BEGIN TRY token.

qr_endtrytoken

  • TSQL::Common::Regexp->qr_endtrytoken()

This returns a regexp to match a TSQL END TRY token.

qr_begincatchtoken

  • TSQL::Common::Regexp->qr_begincatchtoken()

This returns a regexp to match a TSQL BEGIN CATCH token.

qr_endcatchtoken

  • TSQL::Common::Regexp->qr_endcatchtoken()

This returns a regexp to match a TSQL END CATCH token.

qr_iftoken

  • TSQL::Common::Regexp->qr_iftoken()

This returns a regexp to match a TSQL IF token.

qr_elsetoken

  • TSQL::Common::Regexp->qr_elsetoken()

This returns a regexp to match a TSQL ELSE token.

qr_GOtoken

  • TSQL::Common::Regexp->qr_GOtoken()

This returns a regexp to match a TSQL GO token.

qr_whiletoken

  • TSQL::Common::Regexp->qr_whiletoken()

This returns a regexp to match a TSQL WHILE token.

LIMITATIONS

No limitations are currently known.

Please report any problematic cases.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc TSQL::Common::Regexp

You can also look for information at:

ACKNOWLEDGEMENTS

    None yet.

SEE ALSO

LICENSE AND COPYRIGHT

Copyright 2012 Ded MedVed.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.