Difference between revisions of "Template:RegexExample"
From CSE330 Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
<div style="width:80%; margin:0 auto;"> | <div style="width:80%; margin:0 auto;"> | ||
− | <div style="text-align:right;">{{#if: {{{method|}}} | {{#if: {{{method}}}==debuggex | [http://www.debuggex.com/?re={{urlencode:{{{regex}}}}}&str={{urlencode:{{{str}}}}} View in Debuggex] | [http://regexpal.com/?regex={{urlencode:{{{regex}}}}}&input={{urlencode:{{{str}}}}} View in RegExPal]}} | [http://www.debuggex.com/?re={{urlencode:{{{regex}}}}}&str={{urlencode:{{{str}}}}} View in Debuggex] - [http://regexpal.com/?regex={{urlencode:{{{regex}}}}}&input={{urlencode:{{{str}}}}} View in RegExPal]}}</div> | + | <div style="text-align:right;">{{#if:{{{method|}}} |
+ | | {{#if:{{{method}}}==debuggex | ||
+ | | [http://www.debuggex.com/?re={{urlencode:{{{regex}}}}}&str={{urlencode:{{{str}}}}} View in Debuggex] | ||
+ | | [http://regexpal.com/?regex={{urlencode:{{{regex}}}}}&input={{urlencode:{{{str}}}}} View in RegExPal] | ||
+ | }} | ||
+ | | [http://www.debuggex.com/?re={{urlencode:{{{regex}}}}}&str={{urlencode:{{{str}}}}} View in Debuggex] - [http://regexpal.com/?regex={{urlencode:{{{regex}}}}}&input={{urlencode:{{{str}}}}} View in RegExPal] | ||
+ | }}</div> | ||
<div style="background-color:#FAEDC8; padding:8px; font:14px/12px monospace;">{{{regex}}}</div> | <div style="background-color:#FAEDC8; padding:8px; font:14px/12px monospace;">{{{regex}}}</div> | ||
</div> | </div> |
Revision as of 18:44, 23 March 2013
{{#if:
| {{#if:{{{method}}}==debuggex | View in Debuggex | View in RegExPal }} | View in Debuggex - View in RegExPal
}}{{{regex}}}