The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

Version 0.05

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.

qr_createproceduretoken

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

This returns a regexp to match the start of a TSQL CREATE PROCEDURE statement.

qr_alterproceduretoken

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

This returns a regexp to match the start of a TSQL ALTER PROCEDURE statement.

qr_createtriggertoken

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

This returns a regexp to match the start of a TSQL CREATE TRIGGER statement.

qr_altertriggertoken

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

This returns a regexp to match the start of a TSQL ALTER TRIGGER statement.

qr_createviewtoken

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

This returns a regexp to match the start of a TSQL CREATE VIEW statement.

qr_alterviewtoken

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

This returns a regexp to match the start of a TSQL ALTER VIEW statement.

qr_createfunctiontoken

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

This returns a regexp to match the start of a TSQL CREATE FUNCTION statement.

qr_alterfunctiontoken

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

This returns a regexp to match the start of a TSQL ALTER FUNCTION statement.

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.