Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OutputWrapper.php

OutputWrapper::URL_PATTERN

File

vendor/symfony/console/Helper/OutputWrapper.php, line 49

Class

OutputWrapper
Simple output wrapper for "tagged outputs" instead of wordwrap(). This solution is based on a StackOverflow answer: https://stackoverflow.com/a/20434776/1476819 from user557597 (alias SLN).

Namespace

Symfony\Component\Console\Helper

Code

private const URL_PATTERN = 'https?://\\S+';

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal