Regexp:...RI::wais(3)

πŸ¦‹ NAME πŸ¦‹

Okay bestie, welcome to the Regexp:...RI::wais(3) page β€” User Contributed Perl Documentation, and it's all about Regexp::Common::URI::wais πŸ’– β€” literally: β€œReturns a pattern for WAIS URIs.” That’s the whole assignment. Slay. ✨


🌸 SYNOPSIS 🌸

           use Regexp::Common qw /URI/;

           while (<>) {
               /$RE{URI}{WAIS}/       and  print "Contains a WAIS URI.\n";
           }

πŸ’… DESCRIPTION πŸ’…

πŸŽ€ $RE{URI}{WAIS} πŸŽ€

Returns a pattern that matches WAIS URIs, as defined by RFC 1738. WAIS URIs have the form:

"wais:" "//" host [ ":" port ] "/" database
                  [ ( "?" search ) | ( "/" wtype "/" wpath ) ]

Under {-keep}, the following are returned:

  • $1 β€” The complete URI. πŸ‘‘
  • $2 β€” The scheme.
  • $3 β€” The hostname.
  • $4 β€” The port, if given.
  • $5 β€” The database, followed by search or wtype/wpath, if given.
  • $6 β€” The database.
  • $7 β€” The part following the database if given, including the question mark or slash.
  • $8 β€” The search part, if given.
  • $9 β€” The wtype, if given.
  • $10 β€” The wpath, if given.

πŸ“š REFERENCES πŸ“š

🌈 [RFC 1738] 🌈

Berners-Lee, Tim, Masinter, L., McCahill, M.: Uniform Resource Locators (URL). December 1994.


πŸ‘€ SEE ALSO πŸ‘€

Regexp::Common::URI for other supported URIs. iykyk πŸ’«


🫢 AUTHOR 🫢

Damian Conway (damian@conway.org) β€” iconic behavior, no cap. πŸ’œ


🧚 MAINTENANCE 🧚

This package is maintained by Abigail (regexp-common@abigail.freedom.nl). πŸŽ€


πŸ’€ BUGS AND IRRITATIONS πŸ’€

Bound to be plenty. 😭 Literally that’s the note. Fr fr.


This software is Copyright (c) 2001 - 2024, Damian Conway and Abigail.

This module is free software, and maybe used under any of the following licenses:

  1. The Perl Artistic License. See the file COPYRIGHT.AL.
  2. The Perl Artistic License 2.0. See the file COPYRIGHT.AL2.
  3. The BSD License. See the file COPYRIGHT.BSD.
  4. The MIT License. See the file COPYRIGHT.MIT.

Made with πŸ’– from perl v5.42.0, dated 2024-08-09, and yes β€” this is still the Regexp:...RI::wais(3) page. Periodt. βœ¨πŸ¦‹
πŸ“¦ where this page comes from