Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:31:require_once)->(global.php:122:run_hooks)->(class_plugins.php:142:bam_announcements)->(bam.php:329:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant uid - assumed 'uid' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->Warning [2] Use of undefined constant cancp - assumed 'cancp' (this will throw an Error in a future version of PHP) - Line: 34 - File: inc/plugins/gizli_icerik.php PHP 7.4.3-4ubuntu2.20 (Linux)
(showthread.php:1133:build_postbit)->(functions_post.php:843:parse_message)->(class_parser.php:244:run_hooks)->(class_plugins.php:142:gizli_icerik_run)->(gizli_icerik.php:34:error_callback)->(class_error.php:153:error)->

  • Welcome to the English.10tl.net
  • The first english 10tl.net forum.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Title: [MyCode] Inline code
#1
This short MyCode allow to use ` symbol to display inline code (as it's done here).

Regular Expression
Code:
(?U-s)`(.+)`

None
Select All

Replacement
Code:
<code class="inline-code">$1</code>

None
Select All

css
Code:
.inline-code {
    background: #00bcd4;
    padding: 1px;
    border: solid 1px #EEE;
    border-radius: 3px;
    word-wrap: break-word;
    font-family: Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;
    font-size: 12px;
}

None
Select All

Note the modifiers at the begining of the regexp: U (makes ungreedy) and -s (to force the single-line)
 
Reply
Thanks given by:
  


Forum Jump:


Browsing: 1 Guest(s)