WordPress.org

Support

Support » Plugins and Hacks » Twitter Widget Pro » preg_repleace hashtags

preg_repleace hashtags

  • in function

    public function linkHashtags( $text ) {
    		$text = preg_replace_callback('/(^|\s)(#[\w\x{00C0}-\x{00D6}\x{00D8}-\x{00F6}\x{00F8}-\x{00FF}]*)/i', array($this, '_linkHashtagsCallback'), $text);
    		return $text;
    	}

    regex does not support latin chars such as áàéèíïóòúüçñ and their uppercase.
    i don’t know any regex, so if anyone could help, would much appreciate!
    txs.

    http://wordpress.org/extend/plugins/twitter-widget-pro/

  • The topic ‘preg_repleace hashtags’ is closed to new replies.
Skip to toolbar