PageRenderTime 705ms queryFilters 0ms Sphinxql 302ms GetByIds 307ms meta 0ms repositoryFilters 10ms languageFilters 1ms sourceFilters 44ms

108,898 results for 'gsub' (705 ms)

Source

Language

Repository

054-gsub-dfa.t https://github.com/dome/lixen_app.git | Unknown | 203 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("hello, 1234 5678", "[0-9]|[0-9][0-9]", "world", "d")
25            if n then
42        content_by_lua '
43            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "d")
44            if n then
61        content_by_lua '
62            local s, n = ngx.re.gsub("hello, 1234 5678", "[0-9]|[0-9][0-9]", "world", "do")
63            if n then
80        content_by_lua '
81            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "do")
82            if n then
99        content_by_lua '
100            local s, n, err = ngx.re.gsub("hello\\nworld", "(abc", "world", "j")
101            if s then
053-gsub-jit.t https://github.com/liyao0409/tengine.git | Unknown | 144 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("hello, 1234 5678", "([0-9]+)", "world", "j")
25            if n then
44        content_by_lua '
45            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "j")
46            if n then
65        content_by_lua '
66            local s, n = ngx.re.gsub("hello, 1234 5678", "([0-9]+)", "world", "jo")
67            if n then
86        content_by_lua '
87            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "jo")
88            if n then
107        content_by_lua '
108            local s, n, err = ngx.re.gsub("hello\\nworld", "(abc", "world", "j")
109            if s then
054-gsub-dfa.t https://github.com/liyao0409/tengine.git | Unknown | 135 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("hello, 1234 5678", "[0-9]|[0-9][0-9]", "world", "d")
25            if n then
42        content_by_lua '
43            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "d")
44            if n then
61        content_by_lua '
62            local s, n = ngx.re.gsub("hello, 1234 5678", "[0-9]|[0-9][0-9]", "world", "do")
63            if n then
80        content_by_lua '
81            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "do")
82            if n then
99        content_by_lua '
100            local s, n, err = ngx.re.gsub("hello\\nworld", "(abc", "world", "j")
101            if s then
053-gsub-jit.t https://github.com/dome/lixen_app.git | Unknown | 144 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("hello, 1234 5678", "([0-9]+)", "world", "j")
25            if n then
44        content_by_lua '
45            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "j")
46            if n then
65        content_by_lua '
66            local s, n = ngx.re.gsub("hello, 1234 5678", "([0-9]+)", "world", "jo")
67            if n then
86        content_by_lua '
87            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "jo")
88            if n then
107        content_by_lua '
108            local s, n, err = ngx.re.gsub("hello\\nworld", "(abc", "world", "j")
109            if s then
gsub - remove whitespace from front of line.tmCommand git://github.com/drnic/ruby-tmbundle.git | Unknown | 33 lines
11if ENV['TM_CURRENT_LINE'] =~ /^([\s\t]+)/
12  whitespace = $1.gsub(/\t/, '\t')
13end
14
15print "gsub(/${1:^#{whitespace}}/, '$0')"
16</string>
21	<key>name</key>
22	<string>gsub - remove whitespace from front of line</string>
23	<key>output</key>
27	<key>tabTrigger</key>
28	<string>gsub</string>
29	<key>uuid</key>
harfbuzz-gsub.c git://github.com/brson/rust-harfbuzz.git | C | 4,329 lines
33
34static HB_Error  GSUB_Do_Glyph_Lookup( HB_GSUBHeader*   gsub,
35				       HB_UShort         lookup_index,
3737
3738HB_Error  HB_GSUB_Select_Script( HB_GSUBHeader*  gsub,
3739				 HB_UInt         script_tag,
3809
3810HB_Error  HB_GSUB_Select_Feature( HB_GSUBHeader*  gsub,
3811				  HB_UInt         feature_tag,
4266
4267HB_Error  HB_GSUB_Register_Alternate_Function( HB_GSUBHeader*  gsub,
4268					       HB_AltFunction  altfunc,
4282 */
4283HB_Error  HB_GSUB_Apply_String( HB_GSUBHeader*   gsub,
4284				HB_Buffer        buffer )
harfbuzz-gsub.c https://bitbucket.org/enic/elib | C | 4,330 lines
33
34static HB_Error  GSUB_Do_Glyph_Lookup( HB_GSUBHeader*   gsub,
35				       HB_UShort         lookup_index,
3737
3738HB_Error  HB_GSUB_Select_Script( HB_GSUBHeader*  gsub,
3739				 HB_UInt         script_tag,
3809
3810HB_Error  HB_GSUB_Select_Feature( HB_GSUBHeader*  gsub,
3811				  HB_UInt         feature_tag,
4266
4267HB_Error  HB_GSUB_Register_Alternate_Function( HB_GSUBHeader*  gsub,
4268					       HB_AltFunction  altfunc,
4282 */
4283HB_Error  HB_GSUB_Apply_String( HB_GSUBHeader*   gsub,
4284				HB_Buffer        buffer )
gsub.cc https://bitbucket.org/thinker/mozilla-central | C++ | 684 lines
4
5#include "gsub.h"
6
69const ots::LookupSubtableParser kGsubLookupSubtableParser = {
70  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
71  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
599
600  OpenTypeGSUB *gsub = new OpenTypeGSUB;
601  file->gsub = gsub;
665      (file->gpos && file->gpos->data == NULL);
666  return file->gsub != NULL && file->gsub->data != NULL
667      && !needed_tables_dropped;
670bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
671  if (!out->Write(file->gsub->data, file->gsub->length)) {
672    return OTS_FAILURE();
gsub.cc https://bitbucket.org/Jiten/mozilla-central | C++ | 684 lines
4
5#include "gsub.h"
6
69const ots::LookupSubtableParser kGsubLookupSubtableParser = {
70  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
71  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
599
600  OpenTypeGSUB *gsub = new OpenTypeGSUB;
601  file->gsub = gsub;
665      (file->gpos && file->gpos->data == NULL);
666  return file->gsub != NULL && file->gsub->data != NULL
667      && !needed_tables_dropped;
670bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
671  if (!out->Write(file->gsub->data, file->gsub->length)) {
672    return OTS_FAILURE();
gsub.cc https://bitbucket.org/halwine/releases-mozilla-inbound | C++ | 684 lines
4
5#include "gsub.h"
6
69const ots::LookupSubtableParser kGsubLookupSubtableParser = {
70  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
71  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
599
600  OpenTypeGSUB *gsub = new OpenTypeGSUB;
601  file->gsub = gsub;
665      (file->gpos && file->gpos->data == NULL);
666  return file->gsub != NULL && file->gsub->data != NULL
667      && !needed_tables_dropped;
670bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
671  if (!out->Write(file->gsub->data, file->gsub->length)) {
672    return OTS_FAILURE();
gsub.cc https://bitbucket.org/ehsan/broken-inbound | C++ | 684 lines
4
5#include "gsub.h"
6
69const ots::LookupSubtableParser kGsubLookupSubtableParser = {
70  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
71  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
599
600  OpenTypeGSUB *gsub = new OpenTypeGSUB;
601  file->gsub = gsub;
665      (file->gpos && file->gpos->data == NULL);
666  return file->gsub != NULL && file->gsub->data != NULL
667      && !needed_tables_dropped;
670bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
671  if (!out->Write(file->gsub->data, file->gsub->length)) {
672    return OTS_FAILURE();
gsub.cc https://bitbucket.org/hsoft/mozilla-central | C++ | 684 lines
4
5#include "gsub.h"
6
69const ots::LookupSubtableParser kGsubLookupSubtableParser = {
70  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
71  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
599
600  OpenTypeGSUB *gsub = new OpenTypeGSUB;
601  file->gsub = gsub;
665      (file->gpos && file->gpos->data == NULL);
666  return file->gsub != NULL && file->gsub->data != NULL
667      && !needed_tables_dropped;
670bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
671  if (!out->Write(file->gsub->data, file->gsub->length)) {
672    return OTS_FAILURE();
037-gsub.t https://bitbucket.org/xern/kortide-nginx | Unknown | 366 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("[hello, world]", "[a-z]+", "howdy")
25            ngx.say(s)
40        content_by_lua '
41            local s, n = ngx.re.gsub("hello, world", "[a-z]+", "howdy")
42            ngx.say(s)
57        content_by_lua '
58            local s, n = ngx.re.gsub("hello, world", "[A-Z]+", "howdy")
59            ngx.say(s)
78
79            local s, n = ngx.re.gsub("hello, world", "([a-z])[a-z]+", f)
80            ngx.say(s)
99
100            local s, n = ngx.re.gsub("{hello, world}", "([a-z])[a-z]+", f)
101            ngx.say(s)
gsub.cc https://bitbucket.org/bgirard/mozilla-central | C++ | 676 lines
68  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
69  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
70};
531#define DROP_THIS_TABLE \
532  do { file->gsub->data = 0; file->gsub->length = 0; } while (0)
533
593
594  OpenTypeGSUB *gsub = new OpenTypeGSUB;
595  file->gsub = gsub;
657      (file->gpos && file->gpos->data == NULL);
658  return file->gsub != NULL && file->gsub->data != NULL
659      && !needed_tables_dropped;
662bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
663  if (!out->Write(file->gsub->data, file->gsub->length)) {
664    return OTS_FAILURE();
gsub.cc https://bitbucket.org/bgirard/tiling | C++ | 676 lines
68  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
69  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
70};
531#define DROP_THIS_TABLE \
532  do { file->gsub->data = 0; file->gsub->length = 0; } while (0)
533
593
594  OpenTypeGSUB *gsub = new OpenTypeGSUB;
595  file->gsub = gsub;
657      (file->gpos && file->gpos->data == NULL);
658  return file->gsub != NULL && file->gsub->data != NULL
659      && !needed_tables_dropped;
662bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
663  if (!out->Write(file->gsub->data, file->gsub->length)) {
664    return OTS_FAILURE();
gsub.cc https://bitbucket.org/lahabana/mozilla-central | C++ | 676 lines
68  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
69  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
70};
531#define DROP_THIS_TABLE \
532  do { file->gsub->data = 0; file->gsub->length = 0; } while (0)
533
593
594  OpenTypeGSUB *gsub = new OpenTypeGSUB;
595  file->gsub = gsub;
657      (file->gpos && file->gpos->data == NULL);
658  return file->gsub != NULL && file->gsub->data != NULL
659      && !needed_tables_dropped;
662bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
663  if (!out->Write(file->gsub->data, file->gsub->length)) {
664    return OTS_FAILURE();
gsub.cc https://bitbucket.org/marfey/releases-mozilla-central | C++ | 676 lines
68  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
69  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
70};
531#define DROP_THIS_TABLE \
532  do { file->gsub->data = 0; file->gsub->length = 0; } while (0)
533
593
594  OpenTypeGSUB *gsub = new OpenTypeGSUB;
595  file->gsub = gsub;
657      (file->gpos && file->gpos->data == NULL);
658  return file->gsub != NULL && file->gsub->data != NULL
659      && !needed_tables_dropped;
662bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
663  if (!out->Write(file->gsub->data, file->gsub->length)) {
664    return OTS_FAILURE();
gsub%21-i.ri https://bitbucket.org/kendfinger/crostools.git | Unknown | 6 lines
1U:RDoc::AnyMethod[iI"
2gsub!:EFI"String#gsub!;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"OPerforms the substitutions of <code>String#gsub</code> in place, returning;FI"H<i>str</i>, or <code>nil</code> if no substitutions were performed.;FI"WIf no block and no <i>replacement</i> is given, an enumerator is returned instead.;FI"˘str.gsub!(pattern, replacement)        -> str or nil
3str.gsub!(pattern) {|match| block }    -> str or nil
3str.gsub!(pattern) {|match| block }    -> str or nil
4str.gsub!(pattern)                     -> an_enumerator
5;F0[I"
gsub https://bitbucket.org/ambrevar/home-config.git | Unknown | 4 lines
1# -*- mode: snippet -*-
2# key: gsub
3# --
3# --
4gsub ("${1:regex}" , "${2:subs}"${3:, s})
harfbuzz-gsub.h git://github.com/brson/rust-harfbuzz.git | C Header | 148 lines
93
94HB_Error  HB_Done_GSUB_Table( HB_GSUBHeader*  gsub );
95
126
127HB_Error  HB_GSUB_Add_Feature( HB_GSUBHeader*  gsub,
128			       HB_UShort        feature_index,
130
131HB_Error  HB_GSUB_Clear_Features( HB_GSUBHeader*  gsub );
132
133
134HB_Error  HB_GSUB_Register_Alternate_Function( HB_GSUBHeader*  gsub,
135					       HB_AltFunction  altfunc,
138
139HB_Error  HB_GSUB_Apply_String( HB_GSUBHeader*   gsub,
140				HB_Buffer        buffer );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21