mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* added source links to naming user doc
This commit is contained in:
parent
17af89b0bf
commit
fdeb7745e2
@ -124,8 +124,9 @@ div.screencast:hover .play {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.comment {
|
||||
.comment, a.source {
|
||||
font-size: xx-small;
|
||||
font-weight: normal;
|
||||
color: lightgray;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
@ -71,7 +71,11 @@
|
||||
<p>
|
||||
<code><span class="block start">{</span><span class="variable">n</span>.<span class="method">replaceTrailingBraces</span>()<span class="block end">}</span> - <span class="block start">{</span><span class="variable">s</span>+<span class="string">'x'</span><span class="block end">}</span><span class="block start">{</span><span class="variable">e</span>.<span class="method">pad</span>(<span class="numeral">2</span>)<span class="block end">}</span> - <span class="block start">{</span><span class="variable">t</span>.<span class="method">replaceAll</span>(<span class="regex">/[!?.]+$/</span>).<span class="method">replaceAll</span>(<span class="regex">/[`´]/</span>, <span class="string">"'"</span>).<span class="method">lowerTrail</span>().<span class="method">replacePart</span>(<span class="string">', Part $1'</span>)<span class="block end">}</span></code>My personal favorite. Pretty much 1x01, but with lots of cleanup operations.
|
||||
</p>
|
||||
<h2>Binding Reference</h2>
|
||||
|
||||
<h2>
|
||||
Binding Reference
|
||||
<a href="http://filebot.svn.sourceforge.net/viewvc/filebot/trunk/source/net/sourceforge/filebot/format/EpisodeBindingBean.java?view=markup" class="source" onclick="_gaq.push(['_trackPageview', '/source/EpisodeBindingBean.java'])" target="_blank">source</a>
|
||||
</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
@ -184,7 +188,11 @@
|
||||
<td><any subtitle parameter></td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Function Reference</h2>
|
||||
|
||||
<h2>
|
||||
Function Reference
|
||||
<a href="http://filebot.svn.sourceforge.net/viewvc/filebot/trunk/source/net/sourceforge/filebot/format/ExpressionFormat.lib.groovy?view=markup" class="source" onclick="_gaq.push(['_trackPageview', '/source/ExpressionFormat.lib.groovy'])" target="_blank">source</a>
|
||||
</h2>
|
||||
<p>
|
||||
<code><span class="method">pad</span>(<span class="numeral">length</span>, <span class="string">padding</span> = <span class="string">"0"</span>)</code>Pad strings or numbers with given characters ('0' by default).
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user