Posts by Megge

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    :wee: Ich brauch sowas :D

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.
    :wee:

    Problem ist die Forensoftware lässt nur regex für die bbcodes zu. Klar ich könnts schon reinschreiben, nur ich änder ungern direkt was am Code. Es müsste hald mit Regex auch gehen eigentlich ^^

    In a nutshell: 4chan greentext ^^

    Code
    >Lorem ipsum dolor sit amet, 
    >consetetur sadipscing elitr, 
    >sed diam nonumy eirmod 
    tempor invidunt ut labore et
    dolore magna aliquyam erat, sed
    >diam voluptua. At vero
    eos et accusam et justo
    >duo dolores et
    >ea rebum. Stet clita kasd

    soll werden zu

    Code
    [color=green]>Lorem ipsum dolor sit amet,[/color]
    [color=green]>consetetur sadipscing elitr,[/color]
    [color=green]>sed diam nonumy eirmod[/color]
    tempor invidunt ut labore et
    dolore magna aliquyam erat, sed
    [color=green]>diam voluptua. At vero[/color]
    eos et accusam et justo
    [color=green]>duo dolores et[/color]
    [color=green]>ea rebum. Stet clita kasd[/color]

    (Statt den BB Codes die entsprechenden html codes, aber das ist ja dann kein problem mehr)
    Ist mehr so eine Übung in RegEx, hab mir das so als fun feature gedacht und als leichter eingeschätzt als es ist und jetzt will ich das problem knacken

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.
    :wee:

    Okay mal eine kurze Frage:
    Ich bräuchte ein Regex, dass den "> greentext" ala 4chan matcht, und zwar in einem String mit dem layout: ">text\ntext\n>text\n>text", dabei ist es egal ob alles auf einmal gematcht wird, oder das ganze mehrere Durchläufe braucht. Mein momentaner Code

    Code
    (\n|^)>(.*?)(\n|$)
    $1<span style="color: #32CD32;">&gt;$2</span>$3

    hat das Problem, dass bei aufeinanderfolgenden ">text\n" nur jede zweite Zeile gematcht wird (da ja immer das hintere \n mitgematcht wird und somit die das führende \n nicht gefunden werden kann)

    (Soll auf MyBB laufen, weiß nicht genau welcher Parser da verwendet wird :/ )

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Großartiges Pagan-Metal-Epos!
    Kennt jemand zufällig Bands die öfter so "choral"-lastig singen wie hier Arkona in den ersten 2 min?

    Gesäßtasche passts wunderbar.
    Ich schleife meine Messer auch regelmäßig (bzw. lass sie schleifen, wir haben paar so Schleifsteine daheim und mein Dad kann das einigermaßen) nur kriegt man meins gar nicht so scharf, wie ich es haben will. Kann auch sein, dass ich einfach eins von geringerer Qualität erwischt habe, aber sagen wirs so: Wenn es mich stört, kann ichs ja auch daheim lassen und nur dann mitnehmen, wenn ich es brauche, aber so ein Messer an sich zu haben kann wahrscheinlich nicht schaden :)

    So eins hab ich auch dabei (Schweizer mit so ka 10-12 Funktionen), nur - wie gesagt - ich hab ein leichten Faible für Messer, deswegen wll ich ein "richtiges". Problem an den kleinen ist: Die schneiden nicht wirklich. Also für so kleinere Sachen wie Papier etc. kein problem aber zB bei faserigem Material wie Schnüren bekommt man keinen glatten Schnitt hin. Und ne Klinge mit mehr als 5 cm ist manchmal auch praktisch :)

    Ist so eine Mischung aus "haben wollen" und "brauchen". Klar kommt man mit so einem kleinen auch gut zurecht, aber ein "richtiges" ist in einigen Situationen dann doch besser und mir gefallen so Messer sowieso, deswegen why not. ;)

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    :wee: :wee: :wee: :wee: :wee: :wee: :wee: :wee:

    Dudes wtf, zum verteidigen ist ein Messer ziemlich sinnlos -.- Bis man das zieht und öffnet liegt man schon 3 mal am Boden wenns ein Angreifer ist, bei dem man sowas bräuchte.

    Hat keiner von euch ein Taschenmesser o0

    EDIT: inb4 trolls ...